--- # tasks file for podman_nextcloud - import_tasks: include-vars.yml #- import_tasks: packages.yml - import_tasks: firewall.yml when: '"molecule" not in group_names' - name: Parse passwd getent: database: passwd - block: - include_tasks: files.yml with_items: - "{{ service_users }}" loop_control: loop_var: "user" - include_tasks: containers.yml with_items: - "{{ service_users }}" loop_control: loop_var: "user" when: '"nextcloud" in user.services'