diff --git a/tasks/main.yml b/tasks/main.yml index 43a8c145590091178333b1ff66f2719540de77f8..71017aae8d69cf49e389175c36289b2902cdc375 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,12 +1,14 @@ --- # file: roles/drupalconsole/tasks/main.yml -- name: "DrupalConsole Role" - set_fact: role_drupalconsole_started=true - tags: 'always' +- name: DrupalConsole Role + set_fact: + role_drupalconsole_started: yes + tags: + - always - block: - debug: msg='We have to implement some Drupal site specific configuration here' - when: '"drupalconsole" not in excluded_roles and php_version_main|default("7") != "7"' + when: not excluded_roles or "drupalconsole" not in excluded_roles and php_version_main|default("7") != "7"