--- - name: "Ensure that lxc_php_version is defined" fail: msg: Please configure var lxc_php_version when: lxc_php_version is none - include_role: name: evolix/lxc vars: lxc_containers: - { name: "{{ lxc_php_version }}", release: "{{ lxc_php_container_releases[lxc_php_version] }}" } when: lxc_php_version is defined - name: set LXC rootfs ansible.builtin.set_fact: lxc_rootfs: "/var/lib/lxc/{{ lxc_php_version }}/rootfs" - name: "Update APT cache in container {{ lxc_php_version }}" lxc_container: name: "{{ lxc_php_version }}" container_command: "apt-get update" - include: "php56.yml" when: lxc_php_version == "php56" - include: "php70.yml" when: lxc_php_version == "php70" - include: "php73.yml" when: lxc_php_version == "php73" - include: "php74.yml" when: lxc_php_version == "php74" - include: "php80.yml" when: lxc_php_version == "php80" - include: "php81.yml" when: lxc_php_version == "php81" - include: "umask.yml" - include: "misc.yml"