From 352b4bd0b1190ee4b57e692ed0e75d293a636b94 Mon Sep 17 00:00:00 2001 From: "ibrahim.tarik" Date: Tue, 7 Sep 2021 13:21:43 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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