|
30 | 30 | https_proxy: ""
|
31 | 31 | block:
|
32 | 32 | - name: Enable AppRole auth module
|
33 |
| - hashivault_auth_method: |
| 33 | + hashivault_auth_method: # noqa: fqcn |
34 | 34 | url: "{{ openbao_api_addr }}"
|
35 | 35 | ca_cert: "{{ openbao_ca_cert }}"
|
36 | 36 | token: "{{ openbao_keys.root_token }}"
|
37 | 37 | method_type: approle
|
38 | 38 | state: enabled
|
39 | 39 |
|
40 | 40 | - name: Enable barbican kv store
|
41 |
| - hashivault_secret_engine: |
| 41 | + hashivault_secret_engine: # noqa: fqcn |
42 | 42 | url: "{{ openbao_api_addr }}"
|
43 | 43 | ca_cert: "{{ openbao_ca_cert }}"
|
44 | 44 | token: "{{ openbao_keys.root_token }}"
|
|
47 | 47 | description: Barbican kv store
|
48 | 48 |
|
49 | 49 | - name: Ensure barbican policy is defined
|
50 |
| - hashivault_policy: |
| 50 | + hashivault_policy: # noqa: fqcn |
51 | 51 | url: "{{ openbao_api_addr }}"
|
52 | 52 | ca_cert: "{{ openbao_ca_cert }}"
|
53 | 53 | token: "{{ openbao_keys.root_token }}"
|
|
59 | 59 | }
|
60 | 60 |
|
61 | 61 | - name: Ensure barbican AppRole is defined
|
62 |
| - hashivault_approle_role: |
| 62 | + hashivault_approle_role: # noqa: fqcn |
63 | 63 | url: "{{ openbao_api_addr }}"
|
64 | 64 | ca_cert: "{{ openbao_ca_cert }}"
|
65 | 65 | token: "{{ openbao_keys.root_token }}"
|
|
70 | 70 | name: barbican
|
71 | 71 |
|
72 | 72 | - name: Get barbican Approle ID
|
73 |
| - hashivault_approle_role_id: |
| 73 | + hashivault_approle_role_id: # noqa: fqcn |
74 | 74 | url: "{{ openbao_api_addr }}"
|
75 | 75 | ca_cert: "{{ openbao_ca_cert }}"
|
76 | 76 | token: "{{ openbao_keys.root_token }}"
|
|
89 | 89 | when: stackhpc_write_barbican_role_id_to_file | default(false) | bool
|
90 | 90 |
|
91 | 91 | - name: Check if barbican Approle Secret ID is defined
|
92 |
| - hashivault_approle_role_secret_get: |
| 92 | + hashivault_approle_role_secret_get: # noqa: fqcn |
93 | 93 | url: "{{ openbao_api_addr }}"
|
94 | 94 | ca_cert: "{{ openbao_ca_cert }}"
|
95 | 95 | token: "{{ openbao_keys.root_token }}"
|
|
98 | 98 | register: barbican_approle_secret_get
|
99 | 99 |
|
100 | 100 | - name: Ensure barbican AppRole Secret ID is defined
|
101 |
| - hashivault_approle_role_secret: |
| 101 | + hashivault_approle_role_secret: # noqa: fqcn |
102 | 102 | url: "{{ openbao_api_addr }}"
|
103 | 103 | ca_cert: "{{ openbao_ca_cert }}"
|
104 | 104 | token: "{{ openbao_keys.root_token }}"
|
|
0 commit comments