Created
February 28, 2022 11:43
-
-
Save amaurybsouza/bc5f18eacd3c1f4f149dcd2a4f8576fa to your computer and use it in GitHub Desktop.
ansible-variaveisv3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: teste | |
hosts: localhost | |
become: true | |
gather_facts: false | |
vars: | |
package: nmap | |
tasks: | |
- name: Install packages on system | |
apt: name={{ package }} state=latest | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment