Skip to content

Instantly share code, notes, and snippets.

@amaurybsouza
Created February 28, 2022 11:43
Show Gist options
  • Save amaurybsouza/bc5f18eacd3c1f4f149dcd2a4f8576fa to your computer and use it in GitHub Desktop.
Save amaurybsouza/bc5f18eacd3c1f4f149dcd2a4f8576fa to your computer and use it in GitHub Desktop.
ansible-variaveisv3
---
- 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