mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-13 20:52:28 +00:00
Merge pull request #22 from madonius/bugfix/run_with_ansible_2.8
Bugfix/run with ansible 2.8
This commit is contained in:
commit
abcd4631b7
1 changed files with 5 additions and 2 deletions
|
@ -17,8 +17,11 @@
|
|||
mode: "0600"
|
||||
when:
|
||||
- not secret_file_stat.stat.exists
|
||||
|
||||
# TODO: This below is a dirty hack and should be properly revisited
|
||||
- name: Retrieve secret
|
||||
slurp:
|
||||
src: "{{ secret_file_path }}"
|
||||
register: "{{ secret.var }}"
|
||||
register: secret_var
|
||||
|
||||
- name: Set secret.var fact
|
||||
set_fact: { "{{ secret.var }}": "{{ secret_var }}" }
|
||||
|
|
Loading…
Reference in a new issue