2021-09-07 13:04:51 +00:00
|
|
|
# sas4_vps_installation
|
|
|
|
|
2021-09-07 13:21:43 +00:00
|
|
|
Ansible playbook for sas4 auto installation.
|
|
|
|
|
|
|
|
Steps to start the playook
|
|
|
|
1- Add hosts in /etc/ansible/hosts
|
|
|
|
|
|
|
|
2- Create vault secret password
|
|
|
|
example: ansible-vault create secret
|
|
|
|
it will promot yoy to enter password
|
|
|
|
inside secret file add the line: (ansible_sudo_pass: yourSudoPassword)
|
|
|
|
|
|
|
|
3- Create text file for vault secret and place inside the password of secret file from previous step
|
|
|
|
|
|
|
|
4- To execute the playbook just run the following
|
|
|
|
ansible-playbook playbook_name --sudo --vault-password-file=vault.txt
|