hcp-ansible/playbooks/generate_certs.yml
Bertrand Lanson 259f273fd9
All checks were successful
development / Check commit compliance (push) Successful in 5s
feat: playbooks revamp
2024-08-17 14:09:24 +02:00

22 lines
520 B
YAML

---
# hashistack generate certificates playbook
- name: "Generate certificates"
hosts: all, !deployment
strategy: linear
gather_facts: true
become: true
tasks:
- name: "Import variables"
ansible.builtin.include_role:
name: ednz_cloud.hashistack.hashistack
tags:
- always
- name: "Create Certificate Authority"
ansible.builtin.include_role:
name: ednz_cloud.hashistack.hashistack_ca
apply:
delegate_to: localhost
tags:
- always