--- - name: Install certbot community.general.snap: name: certbot classic: true - name: Symlink the executable ansible.builtin.file: src: /snap/bin/certbot dest: /usr/bin/certbot owner: root group: root state: link