sas4_vps_installation/README.md

20 lines
541 B
Markdown
Raw Normal View History

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
2021-09-07 13:30:56 +00:00
2021-09-07 13:21:43 +00:00
1- Add hosts in /etc/ansible/hosts
2- Create vault secret password
2021-09-07 13:30:56 +00:00
example: ansible-vault create secret
it will prompt you to enter password
inside secret file add the line: (ansible_sudo_pass: yourSudoPassword)
2021-09-07 13:21:43 +00:00
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