From 2e6b93b55768229a14e0a6ebe13174fa9a12fefc Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 12 Jun 2019 09:45:53 +0200 Subject: [PATCH] ansible-playbooks/general#85 Quoting some strings --- meta/main.yml | 11 ++++++----- tasks/deploy/gitcomposer.yml | 2 +- tasks/install.yml | 4 ++-- tasks/install/d8.yml | 2 +- tasks/users/gitcomposer.yml | 4 ++-- tasks/users/gitscript.yml | 4 ++-- 6 files changed, 14 insertions(+), 13 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index fe9ecb5..97b0ca3 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,8 +1,9 @@ --- dependencies: - - { role: common, when: ignore_these_tasks is defined } - - { role: php } - - { role: letsencrypt } - - { role: drupal-cli } - - { role: jailkit } + - role: common + when: ignore_these_tasks is defined + - role: php + - role: letsencrypt + - role: drupal-cli + - role: jailkit diff --git a/tasks/deploy/gitcomposer.yml b/tasks/deploy/gitcomposer.yml index eaf33bc..e2ec043 100644 --- a/tasks/deploy/gitcomposer.yml +++ b/tasks/deploy/gitcomposer.yml @@ -49,7 +49,7 @@ prefer_dist: yes - name: Get Git Tag - shell: git tag --points-at HEAD --sort -version:refname | head -1 + shell: 'git tag --points-at HEAD --sort -version:refname | head -1' args: chdir: '{{ webRoot }}' register: git_tag_info diff --git a/tasks/install.yml b/tasks/install.yml index 35e0dab..2bd4358 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -278,14 +278,14 @@ when: item.0.install|default(true) - name: Set Extended Default Permissions - command: setfacl -dRm u:{{ apacheUser }}:rwX,g:{{ apacheUser }}:rwX,o::rX {{ webRoot }}/files + command: 'setfacl -dRm u:{{ apacheUser }}:rwX,g:{{ apacheUser }}:rwX,o::rX {{ webRoot }}/files' tags: - deploy - SetPermissions when: drupal.install_extra_dirs|default(true) - name: Set Extended Permissions - command: setfacl -Rm u:{{ apacheUser }}:rwX,g:{{ apacheUser }}:rwX,o::rX {{ webRoot }}/files + command: 'setfacl -Rm u:{{ apacheUser }}:rwX,g:{{ apacheUser }}:rwX,o::rX {{ webRoot }}/files' tags: - deploy - SetPermissions diff --git a/tasks/install/d8.yml b/tasks/install/d8.yml index 1504e72..f718660 100644 --- a/tasks/install/d8.yml +++ b/tasks/install/d8.yml @@ -9,7 +9,7 @@ # chdir: '{{ webRoot }}' - name: Drupalconsole Install Drupal - shell: drupal site:new {{ drupalRoot }} 8.1.1 --no-interaction + shell: 'drupal site:new {{ drupalRoot }} 8.1.1 --no-interaction' args: chdir: '{{ webRoot }}' diff --git a/tasks/users/gitcomposer.yml b/tasks/users/gitcomposer.yml index 9dfca94..79d1ba9 100644 --- a/tasks/users/gitcomposer.yml +++ b/tasks/users/gitcomposer.yml @@ -24,10 +24,10 @@ follow: no - name: Extended Default File Modes and Ownership for Repository - command: setfacl -dRm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }} + command: 'setfacl -dRm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}' - name: Extended File Modes and Ownership for Repository - command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }} + command: 'setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}' tags: - SetPermissions diff --git a/tasks/users/gitscript.yml b/tasks/users/gitscript.yml index 07ac196..3847332 100644 --- a/tasks/users/gitscript.yml +++ b/tasks/users/gitscript.yml @@ -24,10 +24,10 @@ follow: no - name: Extended Default File Modes and Ownership for Repository - command: setfacl -dRm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }} + command: 'setfacl -dRm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }}' - name: Extended File Modes and Ownership for Repository - command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }} + command: 'setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }}' tags: - SetPermissions -- GitLab