Use inventory_hostname_short (#20054)

When using AWS we have to use the full domain name in the inventory file, which
we rather than the short name. This change avoids that ending up being
set in the tests.
This commit is contained in:
John R Barker 2017-01-09 17:21:04 +00:00 committed by GitHub
commit fb3bef7f46
62 changed files with 123 additions and 123 deletions

View file

@ -3,7 +3,7 @@
- name: setup
vyos_config:
lines: set system host-name {{ inventory_hostname }}
lines: set system host-name {{ inventory_hostname_short }}
provider: "{{ cli }}"
match: none
@ -31,7 +31,7 @@
- name: teardown
vyos_config:
lines: set system host-name {{ inventory_hostname }}
lines: set system host-name {{ inventory_hostname_short }}
provider: "{{ cli }}"
match: none

View file

@ -3,7 +3,7 @@
- name: setup
vyos_config:
lines: set system host-name {{ inventory_hostname }}
lines: set system host-name {{ inventory_hostname_short }}
provider: "{{ cli }}"
match: none
@ -30,7 +30,7 @@
- name: teardown
vyos_config:
lines: set system host-name {{ inventory_hostname }}
lines: set system host-name {{ inventory_hostname_short }}
provider: "{{ cli }}"
match: none