Add vault password configuration for privilege escalation
This commit is contained in:
+2
-1
@@ -49,7 +49,8 @@ interpreter_python: /usr/bin/python3
|
||||
[privilege_escalation]
|
||||
become=True
|
||||
become_method=sudo
|
||||
become_ask_pass=True
|
||||
#become_ask_pass=True
|
||||
become_ask_pass=false
|
||||
|
||||
[ssh_connection]
|
||||
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
---
|
||||
|
||||
vault_become_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66396433363732393538636335366138303933306136383230333234633937376163653763333164
|
||||
3334356262373931303565373432623436626332373138330a363630366464333166363931653531
|
||||
38663839383130323866363732306565393236393937306138633463336635326563363265376365
|
||||
6165396564633236300a613132323132366534383437653665313933393631643434623366656533
|
||||
3835
|
||||
|
||||
ansible_become_password: "{{ vault_become_password }}"
|
||||
|
||||
|
||||
# ansible_managed: !!str " *** [ Ansible managed file: DO NOT EDIT DIRECTLY ] ***"
|
||||
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
---
|
||||
|
||||
vault_become_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66396433363732393538636335366138303933306136383230333234633937376163653763333164
|
||||
3334356262373931303565373432623436626332373138330a363630366464333166363931653531
|
||||
38663839383130323866363732306565393236393937306138633463336635326563363265376365
|
||||
6165396564633236300a613132323132366534383437653665313933393631643434623366656533
|
||||
3835
|
||||
|
||||
# ---
|
||||
# vars used by roles/ansible_dependencies
|
||||
# ---
|
||||
|
||||
Reference in New Issue
Block a user