--- ### vars file for roles/lxc_create # architecture mapping from "uname -m" to package architecture_mapping: aarch64: arm64 x86_64: amd64 #ppc64le: ppc64el #s390x: s390x #armv7l: armhf # Python3 installaton, "*cmdline_" must be listed AFTER "^cmdline_"! cmdline_python: alpine: - "apk add -U python3" archlinux: - "pacman -Sy" - "pacman -S --noconfirm python" centos: &cmdline_python_centos - "yum clean all" - "yum makecache" - "yum install -y python3 || true" almalinux: *cmdline_python_centos fedora: *cmdline_python_centos oracle: *cmdline_python_centos rockylinux: *cmdline_python_centos debian: &cmdline_python_debian - "apt-get -y update" - "apt-get install -y python3 python3-apt" devuan: *cmdline_python_debian mint: *cmdline_python_debian ubuntu: *cmdline_python_debian opensuse: - "zypper --gpg-auto-import-keys --no-gpg-checks -n refresh" - "zypper --gpg-auto-import-keys --no-gpg-checks -n install python3" voidlinux: - "xbps-install -Suy python3 libgcc" # Python2 installation cmdline_python2: debian: &cmdline_python2_debian - "apt-get -y update" - "apt-get install -y python python-apt" ubuntu: *cmdline_python2_debian # Fixes for some OS/Distri cmdline_fixes: oracle: 8: - '[ ! -f /usr/bin/python3 ] && ln -s /usr/libexec/platform-python /usr/bin/python3 || true' # SSH package name if not "openssh-server" ssh_package_name: alpine: openssh archlinux: openssh suse: openssh void: openssh # SSH config file if not "/etc/ssh/sshd_config" ssh_config_filename: opensuse: tumbleweed: /etc/ssh/sshd_config.d/permitrootlogin.conf # SSH service name if not "sshd" ssh_service_name: debian: ssh # Shell for service user if not "/bin/bash" user_shell: alpine: /bin/ash