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

ansible-playbooks/general#85 Linting

parent ee5cbcba
No related branches found
No related tags found
No related merge requests found
......@@ -2,18 +2,24 @@
# file: roles/commonauth/tasks/main.yml
- name: "Common Auth Role"
set_fact: role_commonauth_started=true
set_fact:
role_commonauth_started: true
tags: 'always'
- block:
- set_fact: append=yes
- name: "Set default facts"
set_fact:
append: yes
tags: 'always'
- set_fact: append=no
- name: "Set reset facts"
set_fact:
append: no
tags: 'Reset'
- name: "Init Gropus"
include_tasks: initgroups.yml
include_tasks: 'initgroups.yml'
with_items: '{{ drupal_settings|default([]) }}'
loop_control:
loop_var: drupal
......@@ -21,7 +27,7 @@
- 'SetPermissions'
- name: "Init Users"
include_tasks: inituser.yml
include_tasks: 'inituser.yml'
with_flattened:
- '{{ admins }}'
- '{{ jailusers }}'
......@@ -44,7 +50,8 @@
tags: 'Keys'
- name: 'Remember that this role had been run'
set_fact: role_commonauth_completed=true
set_fact:
role_commonauth_completed: true
tags: 'always'
when: '"commonauth" not in excluded_roles and role_commonauth_completed is not defined'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment