--- - name: Install cadoles-pod-hydra-webauthn-v1 package ansible.builtin.apt: name: - "cadoles-pod-hydra-webauthn-v1={{ cadoles_pod_hydra_webauthn_v1_package_version }}" update_cache: yes state: present become: true - name: Create data directory file: path: /var/lib/cadoles-pod-webauthn-v1/data state: directory - name: Configure cadoles-pod-hydra-webauthn-v1 template: src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: - src: cadoles-pod-hydra-webauthn-v1.conf.j2 dest: /etc/cadoles-pod-hydra-webauthn-v1.conf notify: - Restart cadoles-pod-hydra-webauthn-v1 become: true