a12033a6e0
* WIP * Don't set connection: network_cli in the playbook * ios_config tests now passing * Create test loopback device * delete * ios_* pass (apart from ios_facts) * Remove provider lines
12 lines
340 B
YAML
12 lines
340 B
YAML
---
|
|
|
|
- name: Ensure we have loopback 888 for testing
|
|
ios_config:
|
|
src: config.j2
|
|
|
|
|
|
# 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, "") }}'
|