# ansible-playbook Playbooks/01-UBUNTU-LXD.yml -i Inventories/QA -v -t 'deploy' --become-password-file .sudo_pass - hosts: localhost gather_facts: false become: true roles: #- role: lxd # ansible-galaxy collection install rjlasko.ansible # vars: # lxd: # host: {} tasks: #- become: true # apt: update_cache=yes upgrade=full - community.general.terraform: project_path: "./terraform/" force_init: true state: present become: true register: terraform - name: Add LXD instance to group 'lxd_instances' ansible.builtin.add_host: name: "virtualmin" groups: lxd_instances ansible_lxd_remote: "localhost" plugin: community.general.lxd - hosts: lxd_instances gather_facts: false become: true tasks: - ansible.builtin.ping: {} #- ansible.builtin.include_role: name=sudo