Get ready for bookworm by default.

This commit is contained in:
Andreas B. Mundt 2023-03-14 17:12:53 +01:00
parent cb9f5fdb23
commit 5640c3e76b
3 changed files with 26 additions and 8 deletions

View file

@ -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