summaryrefslogtreecommitdiff
path: root/roles/acmetool/cert/tasks/main.yml
blob: b20e68bba16739ccecc9760465f6cf03f1bb7efe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
---
- 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