---

- name: reload nginx
  ansible.builtin.systemd:
    name: nginx
    state: reloaded

- name: reload apache
  ansible.builtin.systemd:
    name: apache2
    state: reloaded

- name: reload haproxy
  ansible.builtin.systemd:
    name: haproxy
    state: reloaded

- name: systemd daemon-reload
  ansible.builtin.systemd:
    daemon_reload: yes

- name: install letsencrypt-auto
  ansible.builtin.command:
    cmd: /usr/local/bin/letsencrypt-auto --noninteractive --install-only --no-self-upgrade
