Allow redhat.yml to support any distribution and major release
Change-Id: If230992ba779bc8fffb953c4dd56bca9b4edc247
This commit is contained in:
parent
e9a70f3789
commit
105d467a3b
|
@ -14,9 +14,9 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
lxc_container_map:
|
lxc_container_map:
|
||||||
distro: centos
|
distro: "{{ hostvars[physical_host]['ansible_facts']['distribution'] | lower }}"
|
||||||
arch: amd64
|
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_facts']['architecture'] | lower ) }}"
|
||||||
release: 8
|
release: "{{ hostvars[physical_host]['ansible_facts']['distribution_major_version'] }}"
|
||||||
|
|
||||||
lxc_container_default_config_list:
|
lxc_container_default_config_list:
|
||||||
- "lxc.start.auto=1"
|
- "lxc.start.auto=1"
|
||||||
|
|
Loading…
Reference in New Issue