extra fix: check mode

pull/15/head
Tiago Carrondo 2 months ago
parent 5992957204
commit 16159e52f4
  1. 1
      01_prep_lxd.yaml

@ -6,6 +6,7 @@
- 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 https://cloud-images.ubuntu.com/minimal/releases/
when: ubuntu_minimal_repo.stdout != "1"

Loading…
Cancel
Save