Get ready for bookworm by default.
This commit is contained in:
parent
cb9f5fdb23
commit
5640c3e76b
3 changed files with 26 additions and 8 deletions
|
@ -17,5 +17,9 @@
|
|||
## Either one of the variables is defined:
|
||||
- name: join the domain
|
||||
shell:
|
||||
cmd: echo "{{ ansible_cmdline.adpw | default('') + adpw.user_input | default('') }}" | adcli join --stdin-password -U global-admin {{ domain | upper }}
|
||||
when: ansible_cmdline.adpw | default('') | length > 0 or adpw.user_input | default('') | length > 0
|
||||
cmd: >
|
||||
echo "{{ ansible_cmdline.adpw | default('') + adpw.user_input | default('') }}" |
|
||||
adcli join --stdin-password -U global-admin {{ domain | upper }}
|
||||
when: >
|
||||
ansible_cmdline.adpw | default('') | length > 0 or
|
||||
adpw.user_input | default('') | length > 0
|
||||
|
|
|
@ -103,12 +103,18 @@
|
|||
force: false
|
||||
|
||||
- name: rsync VM image definitions
|
||||
command: rsync -a --itemize-changes rsync://server:/vmimages-download/xml /var/lib/libvirt/images/
|
||||
command: >
|
||||
rsync -a --itemize-changes
|
||||
rsync://server:/vmimages-download/xml /var/lib/libvirt/images/
|
||||
register: result
|
||||
changed_when: result.stdout | length > 0
|
||||
|
||||
- name: rsync VM images
|
||||
command: rsync -a -i --files-from=/var/lib/libvirt/images/images.list rsync://server:/vmimages-download/ /var/lib/libvirt/images/
|
||||
command: >
|
||||
rsync -a -i --files-from=/var/lib/libvirt/images/images.list
|
||||
rsync://server:/vmimages-download/ /var/lib/libvirt/images/
|
||||
register: result
|
||||
changed_when: result.stdout | length > 0
|
||||
when: not run_in_installer | default(false) | bool and (ansible_mounts | selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
||||
when: >
|
||||
not run_in_installer | default(false) | bool and (ansible_mounts |
|
||||
selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue