summaryrefslogtreecommitdiff
path: root/roles/acmetool/cert/tasks/main.yml
blob: ddb29236716530290c222d78759a3471220a530e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
- 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 | default([acmetool_cert_name]) }}"
  loop_control:
    label: "{{ item.satisfy.names | join(', ') }}"
  notify: reconcile acmetool