You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
375 B

  1. ---
  2. - name: cluster/configure | Ensure the vault/config directory exists
  3. file:
  4. dest: "{{ vault_config_dir }}"
  5. mode: 0750
  6. state: directory
  7. - name: cluster/configure | Lay down the configuration file
  8. copy:
  9. content: "{{ vault_config | to_nice_json(indent=4) }}"
  10. dest: "{{ vault_config_dir }}/config.json"
  11. mode: 0640
  12. register: vault_config_change