diff --git a/README.md b/README.md index 454970a..e7350de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # sas4_vps_installation -Ansible playbook for sas4 auto installation. \ No newline at end of file +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 \ No newline at end of file