Commit Graph

1 Commits (19f275317ff76bd766b696783d4d870c9dd29084)

Author SHA1 Message Date
ibrahim.tarik a22b33e5ca First Commit
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
2021-09-07 13:20:39 +00:00