File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 55 hosts : github-runners,gitlab-runners
66 tasks :
77 - name : Set a fact about the virtualenv on the remote system
8- set_fact :
8+ ansible.builtin. set_fact :
99 virtualenv : " {{ ansible_python_interpreter | dirname | dirname }}"
1010 when :
1111 - ansible_python_interpreter is defined
1212 - not ansible_python_interpreter.startswith('/bin/')
1313 - not ansible_python_interpreter.startswith('/usr/bin/')
1414
1515 - name : Ensure Python hvac module is installed
16- pip :
16+ ansible.builtin. pip :
1717 name : hvac
1818 state : latest
1919 extra_args : " {% if pip_upper_constraints_file %}-c {{ pip_upper_constraints_file }}{% endif %}"
2020 virtualenv : " {{ virtualenv is defined | ternary(virtualenv, omit) }}"
2121 become : " {{ virtualenv is not defined }}"
2222
2323 - name : Ensure /opt/kayobe/vault exists
24- file :
24+ ansible.builtin. file :
2525 path : /opt/kayobe/vault
2626 state : directory
2727 become : true
2828
29- - import_role :
29+ - name : Import OpenBao role
30+ ansible.builtin.import_role :
3031 name : stackhpc.hashicorp.openbao
3132 vars :
3233 openbao_config_dir : " /opt/kayobe/vault"
3637 openbao_write_keys_file_path : " {{ kayobe_env_config_path }}/vault/kayobe-automation-keys.json"
3738
3839 - name : Include OpenBao keys
39- include_vars :
40+ ansible.builtin. include_vars :
4041 file : " {{ kayobe_env_config_path }}/vault/kayobe-automation-keys.json"
4142 name : openbao_keys
4243 tags : always
4344
44- - import_role :
45+ - name : Import Vault unseal role
46+ ansible.builtin.import_role :
4547 name : stackhpc.hashicorp.vault_unseal
4648 vars :
4749 vault_api_addr : " {{ openbao_api_addr }}"
You can’t perform that action at this time.
0 commit comments