13 lines
366 B
Markdown
13 lines
366 B
Markdown
# 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. |