summaryrefslogtreecommitdiff
path: root/roles/acmetool/cert/tasks/main.yml
blob: a24ea2ed24cda26e1a2a8f9e0d7171c24cc49aed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
- name: add acmetool desired file
  copy:
    content: "{{ item | to_nice_yaml }}"
    dest: "/var/lib/acme/desired/{{ acmetool_cert_name }}"
  with_items:
  - satisfy:
      names: "{{ acmetool_cert_hostnames }}"

- name: reconcile acmetool
  systemd:
    name: acmetool
    state: started