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.

12 lines
428 B

  1. ---
  2. - name: shared/mount | Enable {{ pki_mount_path }} PKI mount
  3. hashivault_secret_enable:
  4. url: "{{ vault_leader_url }}"
  5. token: "{{ vault_root_token }}"
  6. ca_cert: "{{ vault_cert_dir }}/ca.pem"
  7. name: "{{ pki_mount_path }}"
  8. backend: "pki"
  9. config: "{{ pki_mount_options }}"
  10. register: secret_enable_result
  11. failed_when: 'secret_enable_result.rc !=0 and "existing mount" not in secret_enable_result.msg'