diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2016-05-11 15:08:50 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2016-05-11 15:08:50 +0000 |
| commit | a32f8b9e4a061ec1422f9714ee4479dda1b7e186 (patch) | |
| tree | 1662643f8dfaea51473e9597384b46ca4b034b4b /roles/fas_client/tasks | |
| parent | bc159045c8fd2ef77a6458193dc4311eb1080c72 (diff) | |
| download | ansible-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.yml | 2 |
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 |
