Files

11 lines
435 B
YAML

---
# tasks file for haproxy
- name: "Execute acme.sh command: {{ haproxy_acmesh_item.name | default(haproxy_acmesh_item.command | join(' ')) }}"
ansible.builtin.command:
argv: "{{ haproxy_acmesh_item.command }}"
creates: "{{ haproxy_acmesh_item.must_present | default(omit) }}"
removes: "{{ haproxy_acmesh_item.must_absent | default(omit) }}"
become: true
environment: "{{ haproxy_acmesh_item.env | default({}) }}"