Difference between revisions of "Ansible General Commands"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
ansible-playbook playbookname.yml --private-key ~/.ssh/keyname | ansible-playbook playbookname.yml --private-key ~/.ssh/keyname | ||
=[[Ansible| Ansible Category]]= |
Revision as of 14:39, 24 June 2022
- list content of hosts file
ansible-inventory --list
- Run playbook
ansible-playbook playbookname.yml --private-key ~/.ssh/keyname