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

Allow to exclude roles from plays with --exclude-roles command line parameter

parent 2cf6280e
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# file: roles/commonauth/tasks/main.yml
- include: commonauth.yml
when: common_execute == 'yes' and role_commonauth_completed is not defined
when: '"commonauth" not in excluded_roles and role_commonauth_completed is not defined'
- name: 'Commonauth | Remember that this role had been run'
set_fact: role_commonauth_completed=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment