added instructions
This commit is contained in:
parent
b38670c36a
commit
0945b4dc03
11
README.md
11
README.md
@ -1,2 +1,13 @@
|
|||||||
# setup_new_server_ansible
|
# setup_new_server_ansible
|
||||||
|
|
||||||
|
Call from my machine with:
|
||||||
|
|
||||||
|
ansible-playbook playbook.yml --extra-vars "ansible_sudo_pass=xxxxx" --extra-vars "ansible_port=1010"
|
||||||
|
|
||||||
|
(ansible_port is only necessary if sshd has been restarted on target server)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Remember that the target server IP is written in /etc/ansible/hosts
|
||||||
|
|
||||||
|
The vars files is under it's own subdir vars/default.yml.
|
||||||
Loading…
Reference in New Issue
Block a user