diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-29 19:53:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-29 19:53:37 +0300 |
commit | 835ce8fb2476f6f5fd34bbd259079855a0d6b30d (patch) | |
tree | 7b639adbb9c2c355548a9f862d1a832c50882180 /ansible/debian-ansible-dev.yml | |
parent | d583fc61a437894fe5f4b97d4c94be855fc897af (diff) | |
download | ansibleness-835ce8fb2476f6f5fd34bbd259079855a0d6b30d.tar.gz |
feat: use my vmdb2-build base image in debian-ansible-dev, vmadm-dev
Sponsored-by: author
Diffstat (limited to 'ansible/debian-ansible-dev.yml')
-rw-r--r-- | ansible/debian-ansible-dev.yml | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/ansible/debian-ansible-dev.yml b/ansible/debian-ansible-dev.yml index e45b8f7..c51d879 100644 --- a/ansible/debian-ansible-dev.yml +++ b/ansible/debian-ansible-dev.yml @@ -31,16 +31,17 @@ groups: - kvm - libvirt - - shell: | - sudo install -d -o liw -g liw /home/liw/tmp - cd /home/liw/tmp - if [ ! -e debian-10-openstack-amd64.qcow2 ] - then - wget https://cloud.debian.org/images/cloud/OpenStack/current-10/debian-10-openstack-amd64.qcow2 - chown -R liw:liw /home/liw/tmp - fi - args: - warn: no + - file: + state: directory + path: /home/liw/tmp + owner: liw + group: liw + - copy: + src: /home/liw/tmp/base-images/debian-10-openstack-amd64.qcow2 + dest: /home/liw/tmp/debian-10-openstack-amd64.qcow2 + owner: liw + group: liw + mode: 0644 vars: ansible_python_interpreter: python3 |