- Install ansible
- Create
cred.ini
in project root
[masters:vars]
ansible_sudo_pass={{SUDO_PASSWORD}}
[workers:vars]
ansible_sudo_pass={{SUDO_PASSWORD}}
- Run
ansible-playbook -i hosts.ini -i cred.ini deps.yml
cred.ini
in project root[masters:vars]
ansible_sudo_pass={{SUDO_PASSWORD}}
[workers:vars]
ansible_sudo_pass={{SUDO_PASSWORD}}
ansible-playbook -i hosts.ini -i cred.ini deps.yml