From ae51bc194618898aa66fe3304381479151b99748 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 24 Jan 2017 09:25:24 +0100 Subject: [PATCH] Update to Ansible 2.2.1.0 and adjust all file mode settings to provide them as strings --- tasks/oci.yml | 2 +- tasks/php.yml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tasks/oci.yml b/tasks/oci.yml index 9ea95ef..35bb952 100644 --- a/tasks/oci.yml +++ b/tasks/oci.yml @@ -11,7 +11,7 @@ dest=/etc/{{ php_base_dir }}/{{ php_conf_dir }}/{{ item }}.ini owner=root group=root - mode=0644 + mode='644' with_items: - oci8 - pdo_oci diff --git a/tasks/php.yml b/tasks/php.yml index 3c81b45..a0cb273 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -5,7 +5,7 @@ apt_repository: repo='{{ item }}' state='present' - mode=644 + mode='644' with_items: '{{ php_repositories }}' - name: "PHP | Install required packages." @@ -37,7 +37,7 @@ state=directory owner=root group=root - mode=0755 + mode='755' - name: "PHP | Configuration file, php.ini" template: @@ -45,7 +45,7 @@ dest=/etc/{{ php_base_dir }}/apache2/php.ini owner=root group=root - mode=0644 + mode='644' notify: - "Apache | Restart Apache" @@ -58,7 +58,7 @@ dest=/etc/apache2/mods-available/fcgid.conf owner=root group=root - mode=0644 + mode='644' notify: - "Apache | Restart Apache" @@ -68,7 +68,7 @@ dest=/etc/{{ php_base_dir }}/{{ php_conf_dir }}/opcache.ini owner=root group=root - mode=0644 + mode='644' notify: - "Apache | Restart Apache" @@ -132,7 +132,7 @@ state=directory owner=root group=root - mode=0755 + mode='755' - name: "PHP | ImageMagick Policy File" template: @@ -140,7 +140,7 @@ dest=/etc/ImageMagick/policy.xml owner=root group=root - mode=0644 + mode='644' - block: - set_fact: @@ -158,5 +158,5 @@ dest=/etc/logrotate.d/php{{ phpLogRotatePrefix }}-fpm owner=root group=root - mode=644 + mode='644' tags: 'logrotate' -- GitLab