fix lxc vars
This commit is contained in:
parent
a588f87fe6
commit
ffdb85a388
@ -1,40 +1,7 @@
|
|||||||
---
|
---
|
||||||
lxc_hosts_container_build_command: "dnf --assumeyes --installroot=/var/lib/machines/{{ lxc_container_base_name }} install --setopt=install_weak_deps=False --nodocs rootfiles coreutils dnf rocky-release rocky-repos systemd --releasever=8"
|
lxc_hosts_container_build_command: "dnf --assumeyes --installroot=/var/lib/machines/{{ lxc_container_base_name }} install --setopt=install_weak_deps=False --nodocs rootfiles coreutils dnf rocky-release rocky-repos systemd --releasever=8"
|
||||||
|
|
||||||
|
|
||||||
lxc_container_map:
|
lxc_container_map:
|
||||||
distro: rockylinux
|
distro: "{{ hostvars[physical_host]['ansible_facts']['distribution'] | lower }}"
|
||||||
architecture: amd64
|
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_facts']['architecture'] | lower ) }}"
|
||||||
arch: amd64
|
release: "{{ hostvars[pyhsical_host]['ansible_facts']['distribution_major_version'] }}"
|
||||||
release: 8
|
|
||||||
lxc_cache_map:
|
|
||||||
distro: rockylinux
|
|
||||||
arch: "{{ lxc_architecture_mapping.get( ansible_facts['architecture'] ) }}"
|
|
||||||
release: 8
|
|
||||||
copy_from_host:
|
|
||||||
- /etc/default/locale
|
|
||||||
- /etc/environment
|
|
||||||
- /etc/localtime
|
|
||||||
- /etc/locale.conf
|
|
||||||
- /etc/protocols
|
|
||||||
- /etc/pki/rpm-gpg/
|
|
||||||
- /etc/yum/pluginconf.d/fastestmirror.conf
|
|
||||||
- /etc/yum.repos.d/
|
|
||||||
|
|
||||||
lxc_cache_extra_distro_packages:
|
|
||||||
- ca-certificates
|
|
||||||
- iputils
|
|
||||||
- iproute
|
|
||||||
- openssh-server
|
|
||||||
- policycoreutils
|
|
||||||
- procps
|
|
||||||
- python3
|
|
||||||
- python3-libs
|
|
||||||
- rsync # os_keystone runs serial=1 and uses rsync before the distro packages have been installed on all keystone targets
|
|
||||||
- setup
|
|
||||||
- sudo
|
|
||||||
- systemd
|
|
||||||
- systemd-networkd
|
|
||||||
- systemd-resolvd
|
|
||||||
- systemd-sysv
|
|
||||||
- tzdata
|
|
||||||
|
Loading…
Reference in New Issue
Block a user