Merge "Adapt to openstack_hosts/pip_install changes"

This commit is contained in:
Zuul 2017-12-04 14:48:04 +00:00 committed by Gerrit Code Review
commit 5944ed8f11
3 changed files with 15 additions and 7 deletions

View File

@ -49,13 +49,6 @@ repo_pkg_cache_port: 3142
repo_pkg_cache_url: "http://{{ internal_lb_vip_address }}:{{ repo_pkg_cache_port }}"
repo_release_path: "{{ openstack_repo_url }}/os-releases/{{ openstack_release }}/{{ os_distro_version }}"
## kernel modules for specific group hosts
# :param name: name of the kernel module
# :param pattern: pattern to search for in /boot/config-$kernel_version to check how module is configured inside kernel
# :param group: group of hosts where the module will be loaded
openstack_host_specific_kernel_modules:
- { name: "ebtables", pattern: "CONFIG_BRIDGE_NF_EBTABLES", group: "network_hosts" }
## DNS resolution (resolvconf) options
#Group containing resolvers to configure
resolvconf_resolver_group: unbound

View File

@ -0,0 +1,3 @@
openstack_host_specific_kernel_modules:
- name: "ebtables"
pattern: "CONFIG_BRIDGE_NF_EBTABLES"

View File

@ -40,3 +40,15 @@
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- lxc-containers-create
- name: Configure containers default software
hosts: "{{ container_group|default('all_containers') }}"
gather_facts: true
user: root
roles:
- role: "openstack_hosts"
vars:
is_metal: "{{ properties.is_metal|default(false) }}"
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- lxc-containers-create