use module parameter in command modules

This commit is contained in:
Oli
2022-12-17 00:52:12 +00:00
parent 0df2ab4779
commit ca779051f6
2 changed files with 10 additions and 10 deletions

View File

@@ -12,8 +12,8 @@
- name: Install apps
become: true
become_user: "{{ webserver_user }}"
command: php occ app:install {{ item }}
args:
command:
cmd: php occ app:install {{ item }}
chdir: "{{ nextcloud_dir }}"
creates: "{{ nextcloud_dir }}/apps/{{ item }}"
ignore_errors: true
@@ -22,8 +22,8 @@
- name: Set configs via occ
become: true
become_user: "{{ webserver_user }}"
command: php occ config:app:set {{ item }}
args:
command:
cmd: php occ config:app:set {{ item }}
chdir: "{{ nextcloud_dir }}"
loop:
- "preview jpeg_quality --value=60"