summaryrefslogtreecommitdiffstats
path: root/roles/fas_client/tasks
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-05-11 15:08:50 +0000
committerKevin Fenzi <kevin@scrye.com>2016-05-11 15:08:50 +0000
commita32f8b9e4a061ec1422f9714ee4479dda1b7e186 (patch)
tree1662643f8dfaea51473e9597384b46ca4b034b4b /roles/fas_client/tasks
parentbc159045c8fd2ef77a6458193dc4311eb1080c72 (diff)
downloadansible-a32f8b9e4a061ec1422f9714ee4479dda1b7e186.tar.gz
ansible-a32f8b9e4a061ec1422f9714ee4479dda1b7e186.tar.xz
ansible-a32f8b9e4a061ec1422f9714ee4479dda1b7e186.zip
Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
and shouldn't break any others since we always use fully qualified in our inventory.
Diffstat (limited to 'roles/fas_client/tasks')
-rw-r--r--roles/fas_client/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/fas_client/tasks/main.yml b/roles/fas_client/tasks/main.yml
index b22c0094c..2e54b8ccf 100644
--- a/roles/fas_client/tasks/main.yml
+++ b/roles/fas_client/tasks/main.yml
@@ -50,7 +50,7 @@
- name: setup /etc/fas.conf for client use
template: src={{ item }} dest=/etc/fas.conf owner=root mode=600
with_first_found:
- - ../templates/{{ ansible_fqdn }}.fas.conf.j2
+ - ../templates/{{ inventory_hostname }}.fas.conf.j2
- ../templates/{{ ansible_hostname }}.fas.conf.j2
- ../templates/{{ ansible_hostname }}.fas.conf.j2
- ../templates/fas.conf.j2