# ansible-playbook Playbooks/01-UBUNTU-LXD.yml -i Inventories/QA --ask-become-pass - hosts: ubuntu_lxd vars: sudoers: - lxd gather_facts: true tasks: #- ansible.builtin.include_role: name=new_sudoers_user - name: Install packages ansible.builtin.package: name: "{{item}}" state: present with_items: - "ansible" - "zfsutils-linux" - ansible.builtin.include_role: name: init_lxd #vars: # - lxd_init_template_config_path="/path/to/my/custom/template" ## Rollback - hosts: ubuntu_lxd tags: - rollback tasks: - shell: "snap remove --purge lxd" become: true