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

ansible-playbooks/general#85 Linting

parent 386e71f1
No related branches found
No related tags found
No related merge requests found
jailkit: false ---
jailkit: no
jailroot: /jails jailroot: /jails
jailsite_init_force: false jailsite_init_force: no
jailuser_init: false jailuser_init: no
jailkit_components: extendedshell git jk_lsh rsync scp sftp ssh php drush netutils jailkit_components: extendedshell git jk_lsh rsync scp sftp ssh php drush netutils
jailusers: [] jailusers: []
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
'.profile', '.profile',
'.ssh', '.ssh',
'.zshrc' '.zshrc'
] ]
when: item.0.jail is defined and username in item.0.jail.users and (limit_site is not defined or limit_site == 'no' or item.0.id is not defined or limit_site == item.0.id) when: item.0.jail is defined and username in item.0.jail.users and (limit_site is not defined or limit_site == 'no' or item.0.id is not defined or limit_site == item.0.id)
ignore_errors: yes ignore_errors: yes
tags: tags:
......
...@@ -130,24 +130,24 @@ ...@@ -130,24 +130,24 @@
- block: - block:
- name: Remove PHP PHP Default Pool - name: Remove PHP PHP Default Pool
file: file:
path: /etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf path: /etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/www.conf
state: absent state: absent
- name: Create PHP Pool - name: Create PHP Pool
template: template:
src: php_pool.conf src: php_pool.conf
dest: /etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf dest: /etc/{{ php_base_dir|default("php5") }}/fpm/pool.d/{{ item.jail.name }}.conf
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
with_items: '{{ drupal_settings|default([]) }}' with_items: '{{ drupal_settings|default([]) }}'
when: item.jail is defined and (limit_site is not defined or limit_site == 'no' or item.id is not defined or limit_site == item.id) when: item.jail is defined and (limit_site is not defined or limit_site == 'no' or item.id is not defined or limit_site == item.id)
tags: tags:
- ApacheConfig - ApacheConfig
notify: notify:
- Restart PHP-FPM - Restart PHP-FPM
when: php_fpm when: php_fpm
......
...@@ -9,6 +9,6 @@ ...@@ -9,6 +9,6 @@
- block: - block:
- import_tasks: jailkit.yml - import_tasks: jailkit.yml
when: not excluded_roles or "jailkit" not in excluded_roles and jailkit when: not excluded_roles or "jailkit" not in excluded_roles and jailkit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment