From 14d81e18ea8d1020fc03ce66d77baa676b5d5a67 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Mon, 10 Jun 2019 12:50:22 +0200 Subject: [PATCH] ansible-playbooks/general#85 Linting --- tasks/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 43a8c14..71017aa 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" -- GitLab