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

ansible-roles/drupal#14 Change exatr var limit_drupal_sitie to limit_site and...

ansible-roles/drupal#14 Change exatr var limit_drupal_sitie to limit_site and enhance the script apache config to make use of it
parent 47bc0001
Branches
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ cli: ...@@ -4,6 +4,9 @@ cli:
application: application:
default: 'apache' default: 'apache'
help: 'The application to configure Apache for, e.g. apache, drupal, piwk, nextcloud, kibana' help: 'The application to configure Apache for, e.g. apache, drupal, piwk, nextcloud, kibana'
site:
default: False
help: 'The id of a site (only useful with certain applications like Drupal or Piwik)'
arguments: arguments:
playbook: 'role' playbook: 'role'
roles_exclude: roles_exclude:
...@@ -20,3 +23,7 @@ command: ...@@ -20,3 +23,7 @@ command:
args: args:
- 'limit' - 'limit'
- 'application' - 'application'
- name: 'extra-vars'
value: 'limit_site=%s'
args:
- 'site'
...@@ -27,7 +27,7 @@ command: ...@@ -27,7 +27,7 @@ command:
- 'limit' - 'limit'
- name: 'extra-vars' - name: 'extra-vars'
condition: 'site' condition: 'site'
value: 'limit_drupal_site=%s' value: 'limit_site=%s'
args: args:
- 'site' - 'site'
- name: 'start-at-task' - name: 'start-at-task'
......
...@@ -24,7 +24,7 @@ command: ...@@ -24,7 +24,7 @@ command:
args: args:
- 'host' - 'host'
- name: 'extra-vars' - name: 'extra-vars'
value: 'limit_drupal_site=%s' value: 'limit_site=%s'
args: args:
- 'site' - 'site'
- name: 'start-at-task' - name: 'start-at-task'
......
...@@ -22,6 +22,6 @@ command: ...@@ -22,6 +22,6 @@ command:
- 'limit' - 'limit'
- name: 'extra-vars' - name: 'extra-vars'
condition: 'site' condition: 'site'
value: 'limit_drupal_site=%s' value: 'limit_site=%s'
args: args:
- 'site' - 'site'
...@@ -17,6 +17,6 @@ command: ...@@ -17,6 +17,6 @@ command:
value: 'JailKit Role' value: 'JailKit Role'
- name: 'extra-vars' - name: 'extra-vars'
condition: 'site' condition: 'site'
value: 'limit_drupal_site=%s' value: 'limit_site=%s'
args: args:
- 'site' - 'site'
...@@ -15,6 +15,6 @@ command: ...@@ -15,6 +15,6 @@ command:
- 'SetPermissions' - 'SetPermissions'
- name: 'extra-vars' - name: 'extra-vars'
condition: 'site' condition: 'site'
value: 'limit_drupal_site=%s' value: 'limit_site=%s'
args: args:
- 'site' - 'site'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment