From 0eb6dae00e78e1a3eb3ca0ce9e5e86931480976e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 23 Jul 2020 12:30:44 -0700 Subject: [PATCH] playbooks: ipa/proxies: 2fa also only in prod Signed-off-by: Kevin Fenzi --- playbooks/groups/ipa.yml | 1 + playbooks/groups/proxies.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/playbooks/groups/ipa.yml b/playbooks/groups/ipa.yml index eeb5ddb7ad..bd0e775649 100644 --- a/playbooks/groups/ipa.yml +++ b/playbooks/groups/ipa.yml @@ -27,6 +27,7 @@ tasks: - import_tasks: "{{ tasks_path }}/2fa_client.yml" + when: env != 'staging' - import_tasks: "{{ tasks_path }}/motd.yml" handlers: diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index ab402032b6..6cab1159c4 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -34,6 +34,7 @@ tasks: - import_tasks: "{{ tasks_path }}/2fa_client.yml" + when: env != 'staging' - import_tasks: "{{ tasks_path }}/motd.yml" # You might think we would want these tasks_path on the proxy nodes, but they