mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 07:56:49 +00:00
9 lines
217 B
Markdown
9 lines
217 B
Markdown
# Add to Hosts File (change ansible_user if required)
|
|
```
|
|
[all:vars]
|
|
ansible_user='user'
|
|
ansible_become=yes
|
|
ansible_become_method=sudo
|
|
|
|
ansible-playbook site.yaml -i inventory/hosts.ini --key-file ~/.ssh/id_rsa -K
|
|
``` |