Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

26 wiersze
731B

  1. ---
  2. # TODO remove secrets that are defined for other stores
  3. - name: ansible local facts directory
  4. file:
  5. path: /etc/ansible/facts.d
  6. state: directory
  7. - name: save secrets in ansible local secrets fact
  8. copy:
  9. content: "{{ secrets_set_by_store.local_facts | combine(ansible_local.secrets | default({})) | combine(secrets_reset_by_store.local_facts) | to_json }}"
  10. dest: /etc/ansible/facts.d/secrets.fact
  11. mode: 0600
  12. register: _local_facts_set
  13. - name: gathering ansible local facts
  14. setup:
  15. gather_subset: min
  16. filter: ansible_local
  17. when: _local_facts_set.changed
  18. - name: set secrets gathered from ansible local secrets fact
  19. set_fact:
  20. secrets: "{{ secrets | combine(ansible_local.secrets) }}"