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