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.
This commit is contained in:
parent
bc159045c8
commit
a32f8b9e4a
19 changed files with 31 additions and 33 deletions
|
@ -16,7 +16,7 @@
|
|||
copy: src={{ item }} dest=/etc/my.cnf owner=root group=root mode=0644
|
||||
with_first_found:
|
||||
- "{{ mariadb_config }}"
|
||||
- my.cnf.{{ ansible_fqdn }}
|
||||
- my.cnf.{{ inventory_hostname }}
|
||||
- my.cnf.{{ host_group }}
|
||||
- my.cnf.{{ dist_tag }}
|
||||
- my.cnf.{{ ansible_distribution }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue