--- - name: Install cadoles-pod-hydra-passwordless-v1 package ansible.builtin.apt: name: - cadoles-pod-hydra-passwordless-v1 update_cache: yes state: latest - name: Configure cadoles-pod-hydra-passwordless-v1 template: src: "{{ item.src }}" dest: "{{ item.dest }}" with_items: - src: cadoles-pod-hydra-passwordless-v1.conf.j2 dest: /etc/cadoles-pod-hydra-passwordless-v1.conf notify: - Restart cadoles-pod-hydra-passwordless-v1