From d0591e803744b1edc3a252fda4f35b0edcdb9b3c Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 4 Nov 2014 02:21:34 +0000 Subject: [PATCH] I think now I can get the datacenter working --- roles/hosts/tasks/main.yml | 1 + tasks/2fa_client.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/hosts/tasks/main.yml b/roles/hosts/tasks/main.yml index 6fc1cb63ed..1a258fd8d2 100644 --- a/roles/hosts/tasks/main.yml +++ b/roles/hosts/tasks/main.yml @@ -16,6 +16,7 @@ - "{{ ansible_fqdn }}-hosts" - "{{ ansible_hostname }}-hosts" - "{{ ansible_domain }}-hosts" + = "{{ datacenter }}-hosts" - "{{ host_group }}-hosts" skip: true tags: diff --git a/tasks/2fa_client.yml b/tasks/2fa_client.yml index 2b6756614c..3622cbb629 100644 --- a/tasks/2fa_client.yml +++ b/tasks/2fa_client.yml @@ -19,6 +19,7 @@ with_first_found: - "{{ files }}/2fa/pam_url.conf.{{ inventory_hostname }}" - "{{ files }}/2fa/pam_url.conf.{{ ansible_domain }}" + - "{{ files }}/2fa/pam_url.conf.{{ datacenter }}" - "{{ files }}/2fa/pam_url.conf.j2" tags: - config