Add ansible.utils collectoin requirement
ipaddr filter has been moved from netcommon to utils collection [1]
Based on that we must add that collection to requirements.
[1] db4920ebf6
Change-Id: Id834c484e405a805ef87b260a8fd2ea440096937
This commit is contained in:
committed by
Jonathan Rosser
parent
e676bdc618
commit
dfa077659d
@@ -29,6 +29,9 @@ collections:
|
|||||||
- name: ansible.netcommon
|
- name: ansible.netcommon
|
||||||
version: 2.5.1
|
version: 2.5.1
|
||||||
source: https://galaxy.ansible.com
|
source: https://galaxy.ansible.com
|
||||||
|
- name: ansible.utils
|
||||||
|
version: 2.5.2
|
||||||
|
source: https://galaxy.ansible.com
|
||||||
- name: openvswitch.openvswitch
|
- name: openvswitch.openvswitch
|
||||||
version: 2.1.0
|
version: 2.1.0
|
||||||
source: https://galaxy.ansible.com
|
source: https://galaxy.ansible.com
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ bird_bgp_ipv6_peer_ip: >-
|
|||||||
and ansible_facts['default_ipv6']['prefix'] is defined %}
|
and ansible_facts['default_ipv6']['prefix'] is defined %}
|
||||||
{{
|
{{
|
||||||
((ansible_facts['default_ipv6']['address'] ~ '/' ~ ansible_facts['default_ipv6']['prefix']) |
|
((ansible_facts['default_ipv6']['address'] ~ '/' ~ ansible_facts['default_ipv6']['prefix']) |
|
||||||
ipaddr('network') ~ '/' ~ ansible_facts['default_ipv6']['prefix']
|
ansible.utils.ipaddr('network') ~ '/' ~ ansible_facts['default_ipv6']['prefix']
|
||||||
) | ipaddr('net') | ipaddr(1) | ipaddr('address')
|
) | ansible.utils.ipaddr('net') | ansible.utils.ipaddr(1) | ansible.utils.ipaddr('address')
|
||||||
}}
|
}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
- name: Check your internal network is using private ips
|
- name: Check your internal network is using private ips
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- internal_lb_vip_address | ipaddr('private')
|
- internal_lb_vip_address | ansible.utils.ipaddr('private')
|
||||||
|
|
||||||
# Test openstack_hosts role
|
# Test openstack_hosts role
|
||||||
- name: Playbook for role testing
|
- name: Playbook for role testing
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
is_hci: true
|
is_hci: true
|
||||||
common_single_host_mode: true
|
common_single_host_mode: true
|
||||||
monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO
|
monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO
|
||||||
public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ipaddr('net') }}"
|
public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ansible.utils.ipaddr('net') }}"
|
||||||
journal_size: 100
|
journal_size: 100
|
||||||
osd_scenario: collocated
|
osd_scenario: collocated
|
||||||
ceph_conf_overrides_custom:
|
ceph_conf_overrides_custom:
|
||||||
|
|||||||
Reference in New Issue
Block a user