Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # source: https://www.irccloud.com/pastebin/raw/K116uBi4
- ./ansible.cfg
- ./inventory
- ./inventory/hosts.yaml
- ./inventory/group_vars
- ./inventory/group_vars/all
- ./inventory/group_vars/all/credentials.yml
- ansible.cfg
- [defaults]
- inventory = inventory
- hosts.yaml
- all:
- hosts:
- srv1.example.org:
- srv2.example.org:
- srv3.example.org:
- credentials.yml
- $ANSIBLE_VAULT;1.1;AES256
- 34623663383737353236626534333835666435663661613461386236643934303434303132333730
- 3263343630363063386532386637633831653330316566340a643161346138326532663737316663
- 62636264333737623636303438376262373864393736656131656637633766656135393861666538
- 3137376331373138630a313133356165303265653230393530366132373533623765373332653439
- 63656163336331393864303465333736396565303162393265343930373366336164356632303031
- 3537623230386430653432623965383636653934383533656638
- Dump inventory, including secrets
- $ ansible-inventory -i inventory/ --list --yaml --ask-vault-pass
- Vault password:
- all:
- children:
- ungrouped:
- hosts:
- srv1.example.org:
- password: password
- username: root
- srv2.example.org:
- password: password
- username: root
- srv3.example.org:
- password: password
- username: root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement