Move list of apps to playbook variable.

This commit is contained in:
Andreas B. Mundt 2020-01-20 19:01:49 +01:00
parent 004919824c
commit 8a821f501d
2 changed files with 4 additions and 3 deletions

View file

@ -218,9 +218,7 @@
args:
chdir: "{{ nc_dir }}"
warn: False
with_items:
- calendar
- notes
with_items: "{{ nc_apps }}"
register: cmd_result
changed_when: cmd_result.stdout is not search('already installed')
failed_when: cmd_result.stdout is not search('already installed') and cmd_result.rc != 0