Skip to content
Permalink
Browse files

[debops.owncloud] Switch double quotes to single

This change should ensure that the strings provided by Ansible to the
shell are not interpreted by the shell by mistake - for example
a randomly generated password could contain a '$' character that could
be interpreted as a variable name.
  • Loading branch information...
drybjed committed Oct 5, 2019
1 parent ede99ab commit 243a20d3c3af2ead71d6e763cb58da82a18cd01b
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansible/roles/debops.owncloud/tasks/ldap.yml
@@ -33,7 +33,7 @@
when: owncloud__register_local_facts_ldap is changed

- name: Configure LDAP parameters
command: php --file "{{ owncloud__app_home }}/occ" ldap:set-config "{{ owncloud__ldap_config_id }}" "{{ item.name }}" "{{ item.value }}"
command: php --file '{{ owncloud__app_home }}/occ' ldap:set-config '{{ owncloud__ldap_config_id }}' '{{ item.name }}' '{{ item.value }}'
changed_when: False
become: True
become_user: '{{ owncloud__app_user }}'

0 comments on commit 243a20d

Please sign in to comment.
You can’t perform that action at this time.