AdvancedLinuxAdmin/ansible/playbooks/files/user_lxc.yml

8 lines
548 B
YAML
Raw Normal View History

---
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"
2022-02-07 04:00:18 +00:00
2022-02-07 15:32:36 +00:00
lxc_container_map:
2022-02-14 16:23:01 +00:00
distro: "{{ hostvars[physical_host]['ansible_facts']['distribution'] | lower }}"
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_facts']['architecture'] | lower ) }}"
release: "{{ hostvars[pyhsical_host]['ansible_facts']['distribution_major_version'] }}"