Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:ansible [05/03/2020 17:05]
andrew [Running playbook locally on just localhost]
rb:ansible [05/03/2020 17:06] (current)
andrew [Running a specific section of a playbook]
Line 39: Line 39:
 | -i hosts-ansible.ans | hosts list to apply to | | -i hosts-ansible.ans | hosts list to apply to |
 | -u ec2-user | Username to log in to instance with |  | -u ec2-user | Username to log in to instance with | 
-| --sudo | Use sudo to becom root |+| --sudo | Use sudo to become ​root |
 | --private-key ans.rsa | Private key half for key based auth | | --private-key ans.rsa | Private key half for key based auth |
 | main.yml | Entry point file for the playbook| | main.yml | Entry point file for the playbook|

rb/ansible.txt ยท Last modified: 05/03/2020 17:06 by andrew