17 lines
389 B
YAML
17 lines
389 B
YAML
---
|
|
# tasks file for haproxy
|
|
|
|
- name: Install acme.sh
|
|
ansible.builtin.apt:
|
|
name: acme.sh
|
|
become: true
|
|
|
|
- name: Execute acme.sh commands
|
|
ansible.builtin.command:
|
|
argv: "{{ item.command }}"
|
|
creates: "{{ item.must_present | default(omit) }}"
|
|
removes: "{{ item.must_absent | default(omit) }}"
|
|
become: true
|
|
loop: "{{ haproxy_acmesh }}"
|
|
environment: "{{ item.env }}"
|