- name: Install certbot package (Archlinux) when: ansible_facts['os_family'] == "Archlinux" community.general.pacman: name: - certbot - certbot-dns-rfc2136 state: present update_cache: true - name: Add certbot config