Skip to content
Snippets Groups Projects
Commit 0c8056b2 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent f2266566
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@
- mssql-tools
- unixodbc-dev
notify:
- "Restart Apache"
- Restart Apache
- name: PHP | Install PECL packages
shell: pecl install --soft {{ item }}
......@@ -52,7 +52,7 @@
- sqlsrv
- pdo_sqlsrv
notify:
- "Restart Apache"
- Restart Apache
- name: Enable extensions
shell: phpenmod {{ item }}
......@@ -60,4 +60,4 @@
- sqlsrv
- pdo_sqlsrv
notify:
- "Restart Apache"
- Restart Apache
......@@ -14,7 +14,7 @@
state: present
force: yes
notify:
- "Restart Apache"
- Restart Apache
- name: Hold em all
shell: dpkg --get-selections | grep ^sed s/install/hold/g | sudo dpkg --set-selections
......@@ -47,7 +47,7 @@
group: root
mode: 0644
notify:
- "Restart Apache"
- Restart Apache
- import_tasks: php53.yml
when: php_version|default('5.5') == '5.3'
......@@ -60,7 +60,7 @@
group: root
mode: 0644
notify:
- "Restart Apache"
- Restart Apache
- name: Configuration files
template:
......@@ -72,7 +72,7 @@
with_items:
- opcache
notify:
- "Restart Apache"
- Restart Apache
- name: Create extra directory for browscap
file:
......@@ -90,7 +90,7 @@
group: root
when: php_browscap
notify:
- "Restart Apache"
- Restart Apache
- name: Create htdocs directory for apc status
file:
......@@ -138,14 +138,14 @@
group: root
mode: 0644
notify:
- "Restart Apache"
- Restart Apache
- name: Enable Apache PHP FPM Configuration
command: a2enconf php{{ php_version_main }}-fpm
args:
creates: /etc/apache2/conf-enabled/php{{ php_version_main }}-fpm{{ apache_conf_ext }}
notify:
- "Restart Apache"
- Restart Apache
when: php_fpm_socket
......
......@@ -110,7 +110,7 @@
- name: Add PHP-FPM to Boot-List
command: update-rc.d php-fpm defaults
when: "PHP 5.3.29" not in php_version_available.stdout
when: php_version_available and 'PHP 5.3.29' not in php_version_available.stdout
- name: Copy PHP53 Libraries
copy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment