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

ansible-playbooks/general#85 Bug fixes from regex search & replace

parent 04fdb9c2
Branches
No related tags found
No related merge requests found
......@@ -43,8 +43,8 @@
group: '{{ apacheUser }}'
mode: 0775
with_nested:
- '{{( drupal.domains }})'
- '{{( drupal_config_directories }})'
- '{{ drupal.domains }}'
- '{{ drupal_config_directories }}'
when: item.0.install|default(true)
when: not directory.stat.exists
......
......@@ -119,7 +119,7 @@
dest: '{{ webRoot }}/{{ item.1 }}/{{ item.0.shortname|default("default") }}'
state: directory
with_nested:
- '{{( drupal.domains }})'
- '{{ drupal.domains }}'
- ['settings', 'config']
when: item.0.install|default(true)
......@@ -145,7 +145,7 @@
- include_tasks: files.yml
with_nested:
- '{{( drupal.domains }})'
- '{{ drupal.domains }}'
- ['files', 'private']
loop_control:
loop_var: drupal_domain
......@@ -160,7 +160,7 @@
state: link
force: yes
with_subelements:
- '{{( drupal.domains }})'
- '{{ drupal.domains }}'
- aliases
when: drupal.version|default("d7") == "d6" and drupal_d6_create_symbolic_links and item.0.install|default(true)
......@@ -257,7 +257,7 @@
user: '{{ item.1.user|default(cronUser) }}'
disabled: '{{ item.1.disabled|default(false) }}'
with_subelements:
- '{{( drupal.domains }})'
- '{{ drupal.domains }}'
- crontabs
tags:
- cron
......@@ -282,7 +282,7 @@
path: '{{ webRoot }}/files/{{ drupal_domain.0.shortname|default("default") }}/{{ drupal_domain.1 }}/.htaccess'
mode: 0444
with_nested:
- '{{( drupal.domains }})'
- '{{ drupal.domains }}'
- ['files', 'private']
loop_control:
loop_var: drupal_domain
......
......@@ -45,7 +45,7 @@
- localhost
- 127.0.0.1
- ::1
- '{{( inventory_hostname }})'
- '{{ inventory_hostname }}'
when: db.username is defined and db.username != 'root'
ignore_errors: yes
......@@ -61,7 +61,7 @@
login_host: 127.0.0.1
login_port: '{{ item.0.port|default("3306") }}'
with_nested:
- '{{( extra }})'
- '{{ extra }}'
- ['localhost', '127.0.0.1', '::1']
when: item.0.username is defined and item.0.username != 'root'
ignore_errors: yes
......@@ -78,8 +78,8 @@
login_host: 127.0.0.1
login_port: '{{ item.0.port|default("3306") }}'
with_nested:
- '{{( external }})'
- '{{( external_hosts }})'
- '{{ external }}'
- '{{ external_hosts }}'
when: item.0.username is defined and item.0.username != 'root'
ignore_errors: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment