mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
junos Use inventory_hostname_short (#20061)
Don't use hardcoded hostnames
This commit is contained in:
parent
8a8090e658
commit
b8ee80ac4e
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
- show interfaces fxp0
|
||||
display: text
|
||||
wait_for:
|
||||
- "result[0] contains vsrx01"
|
||||
- "result[0] contains {{ inventory_hostname_short }}"
|
||||
- "result[1] contains fxp0"
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue