summaryrefslogtreecommitdiff
path: root/roles/x509/acmetool/cert/finalize/tasks/main.yml
blob: abb2d4cb79c1fe9f68ee241e8de156ba33e449ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
---
- name: add acmetool desired file
  vars:
    acmetool_cert_satisfy:
      satisfy:
        names: "{{ acmetool_cert_hostnames }}"
  copy:
    content: "{{ acmetool_cert_config | default({}) | combine(acmetool_cert_satisfy) | to_nice_yaml }}"
    dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}"
  notify: reconcile acmetool