b9d76f6ef5
* Always use Python 3 * Drop code paths for CentOS 7 * Drop support for Yum * Remove support for host NTP daemon, always use chrony * Switch references from 'yum_install_epel' to 'dnf_install_epel' * Remove overcloud host image workaround for tagged VLAN admin network * Remove the kayobe.utils.yum_install function, which is unused Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48 Story: 2006574 Task: 39481
16 lines
656 B
YAML
16 lines
656 B
YAML
---
|
|
- name: Ensure IP addresses are allocated
|
|
vars:
|
|
# NOTE(mgoddard): Use the Python interpreter used to run ansible-playbook,
|
|
# since this has Python dependencies available to it (PyYAML).
|
|
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
local_action:
|
|
module: ip_allocation
|
|
allocation_file: "{{ ip_allocation_filename }}"
|
|
hostname: "{{ ip_allocation_hostname }}"
|
|
net_name: "{{ item.net_name }}"
|
|
cidr: "{{ item.cidr }}"
|
|
allocation_pool_start: "{{ item.allocation_pool_start | default(omit) }}"
|
|
allocation_pool_end: "{{ item.allocation_pool_end | default(omit) }}"
|
|
with_items: "{{ ip_allocations }}"
|