You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
471 B

- name: Prep lxd Playbook
hosts: lxd_hosts
become: true
- name: PREP LXD -- Check if ubuntu minimal repo already added.
shell: lxc remote list | grep ubuntu-minimal | wc -l
register: ubuntu_minimal_repo
check_mode: no
- name: PREP LXD -- Add ubuntu minimal repo
command: lxc remote add --protocol simplestreams ubuntu-minimal
when: ubuntu_minimal_repo.stdout != "1"