cb1b705218
* Preliminary steps * Fix Python3 network_cli ios * Add connection to debug strings * Fix ios confirm prompt by way of optional newline Also update ios_user delete tests
13 lines
379 B
YAML
13 lines
379 B
YAML
---
|
|
|
|
- name: Ensure we have loopback 888 for testing
|
|
ios_config:
|
|
src: config.j2
|
|
connection: network_cli
|
|
become: yes
|
|
|
|
# Some AWS hostnames can be longer than those allowed by the system we are testing
|
|
# Truncate the hostname
|
|
# http://jinja.pocoo.org/docs/2.9/templates/#truncate
|
|
- set_fact:
|
|
shorter_hostname: '{{ inventory_hostname_short| truncate(10, True, "") }}'
|