Try this as inventory_hostname as it doesn't like _short
This commit is contained in:
parent
454f6c95dc
commit
32f6ce5ac7
3 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
- /srv/web/infra/ansible/vars/nagios.{{ inventory_hostname_short }}.yml
|
||||
- "/srv/web/infra/ansible/vars/nagios.{{ inventory_hostname }}.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue