Compare commits
3 Commits
fdc9b6d2e6
...
8c856d7a6c
Author | SHA1 | Date | |
---|---|---|---|
8c856d7a6c | |||
c9c1049c4d | |||
16159e52f4 |
@ -6,6 +6,7 @@
|
|||||||
- name: PREP LXD -- Check if ubuntu minimal repo already added.
|
- name: PREP LXD -- Check if ubuntu minimal repo already added.
|
||||||
shell: lxc remote list | grep ubuntu-minimal | wc -l
|
shell: lxc remote list | grep ubuntu-minimal | wc -l
|
||||||
register: ubuntu_minimal_repo
|
register: ubuntu_minimal_repo
|
||||||
|
check_mode: no
|
||||||
- name: PREP LXD -- Add ubuntu minimal repo
|
- name: PREP LXD -- Add ubuntu minimal repo
|
||||||
command: lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
|
command: lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
|
||||||
when: ubuntu_minimal_repo.stdout != "1"
|
when: ubuntu_minimal_repo.stdout != "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user