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

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

parent d7513a2b
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,12 @@
---
# file: roles/php/tasks/main.yml
- include: php.yml
when: role_php_completed is not defined
- block:
- include: php.yml
when: role_php_completed is not defined
- name: 'PHP | Remember that this role had been run'
set_fact: role_php_completed=true
when: role_php_completed is not defined
- name: 'PHP | Remember that this role had been run'
set_fact: role_php_completed=true
when: role_php_completed is not defined
when: '"php" not in excluded_roles'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment