diff --git a/CHANGELOG.md b/CHANGELOG.md index b9608f1..1f304bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ ### Major Changes - - Upgrade minimal Ansible community package support to 4.1.0 +## 20210718.1.1 - 2021-07-18 + +### Major Changes + + - Upgrade minimal Ansible community package support to 4.2.0 - Support openSUSE Leap 15.3 ## 20210602.1.1 - 2021-06-02 @@ -18,23 +22,31 @@ ### Major Changes - - Bugfix [ansible-lint `namespace`](https://github.com/ansible-community/ansible-lint/pull/1451) - - Bugfix [ansible-lint `no-handler`](https://github.com/ansible-community/ansible-lint/pull/1402) - - Bugfix [ansible-lint `unnamed-task`](https://github.com/ansible-community/ansible-lint/pull/1413) + - Bugfix [ansible-lint + `namespace`](https://github.com/ansible-community/ansible-lint/pull/1451) + - Bugfix [ansible-lint + `no-handler`](https://github.com/ansible-community/ansible-lint/pull/1402) + - Bugfix [ansible-lint + `unnamed-task`](https://github.com/ansible-community/ansible-lint/pull/1413) ## 20210116.1.0 - 2021-01-16 ### Major Changes - - Support [QEMU Guest Agent](https://wiki.qemu.org/Features/GuestAgent) - - Support [VirtualBox Guest Additions](https://www.virtualbox.org/manual/ch04.html) + - Support [QEMU Guest + Agent](https://wiki.qemu.org/Features/GuestAgent) + - Support [VirtualBox Guest + Additions](https://www.virtualbox.org/manual/ch04.html) ## 20210114.1.0 - 2021-01-14 - Packaging with [Packer](https://www.packer.io/) - - Minimal [Vagrant base box implementation](https://www.vagrantup.com/docs/boxes/base) - - Support [Vagrant synced folder with rsync](https://www.vagrantup.com/docs/synced-folders/rsync) - - Support [Vagrant provisioner with Ansible](https://www.vagrantup.com/docs/provisioning/ansible) + - Minimal [Vagrant base box + implementation](https://www.vagrantup.com/docs/boxes/base) + - Support [Vagrant synced folder with + rsync](https://www.vagrantup.com/docs/synced-folders/rsync) + - Support [Vagrant provisioner with + Ansible](https://www.vagrantup.com/docs/provisioning/ansible) - Standardize disk partition with GPT - Standardize file system mount with UUID - Standardize network interface with `eth0` diff --git a/README.md b/README.md index e717589..b23b0b4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,23 @@ # Vagrant Box Packaging for openSUSE -[![GitLab pipeline status](https://img.shields.io/gitlab/pipeline/alvistack/vagrant-opensuse/master)](https://gitlab.com/alvistack/vagrant-opensuse/-/pipelines) -[![GitHub release](https://img.shields.io/github/release/alvistack/vagrant-opensuse.svg)](https://github.com/alvistack/vagrant-opensuse/releases) -[![GitHub license](https://img.shields.io/github/license/alvistack/vagrant-opensuse.svg)](https://github.com/alvistack/vagrant-opensuse/blob/master/LICENSE) -[![Vagrant Box download](https://img.shields.io/badge/dynamic/json?label=alvistack%2Fopensuse-leap-15.3&query=%24.boxes%5B%3A1%5D.downloads&url=https%3A%2F%2Fapp.vagrantup.com%2Fapi%2Fv1%2Fsearch%3Fq%3Dalvistack%2Fopensuse-leap-15.3)](https://app.vagrantup.com/alvistack/boxes/opensuse-leap-15.3) - -openSUSE, formerly SUSE Linux, is a Linux distribution sponsored by SUSE Software Solutions Germany GmbH (formerly SUSE Linux GmbH) and other companies. Its "Leap" variant shares a common code base with, and is a direct upgradable installation for the commercially-produced SUSE Linux Enterprise, effectively making openSUSE Leap a non-commercial version of the enterprise product. It is widely used throughout the world. The focus of its development is creating usable open-source tools for software developers and system administrators, while providing a user-friendly desktop and feature-rich server environment. +[![GitLab pipeline +status](https://img.shields.io/gitlab/pipeline/alvistack/vagrant-opensuse/master)](https://gitlab.com/alvistack/vagrant-opensuse/-/pipelines) +[![GitHub +release](https://img.shields.io/github/release/alvistack/vagrant-opensuse.svg)](https://github.com/alvistack/vagrant-opensuse/releases) +[![GitHub +license](https://img.shields.io/github/license/alvistack/vagrant-opensuse.svg)](https://github.com/alvistack/vagrant-opensuse/blob/master/LICENSE) +[![Vagrant Box +download](https://img.shields.io/badge/dynamic/json?label=alvistack%2Fopensuse-leap-15.3&query=%24.boxes%5B%3A1%5D.downloads&url=https%3A%2F%2Fapp.vagrantup.com%2Fapi%2Fv1%2Fsearch%3Fq%3Dalvistack%2Fopensuse-leap-15.3)](https://app.vagrantup.com/alvistack/boxes/opensuse-leap-15.3) + +openSUSE, formerly SUSE Linux, is a Linux distribution sponsored by SUSE +Software Solutions Germany GmbH (formerly SUSE Linux GmbH) and other +companies. Its "Leap" variant shares a common code base with, and is a +direct upgradable installation for the commercially-produced SUSE Linux +Enterprise, effectively making openSUSE Leap a non-commercial version of +the enterprise product. It is widely used throughout the world. The +focus of its development is creating usable open-source tools for +software developers and system administrators, while providing a +user-friendly desktop and feature-rich server environment. Learn more about openSUSE: @@ -24,18 +36,26 @@ Learn more about openSUSE: ## Overview - Packaging with [Packer](https://www.packer.io/) - - Minimal [Vagrant base box implementation](https://www.vagrantup.com/docs/boxes/base) - - Support [QEMU Guest Agent](https://wiki.qemu.org/Features/GuestAgent) - - Support [VirtualBox Guest Additions](https://www.virtualbox.org/manual/ch04.html) - - Support [Vagrant synced folder with rsync](https://www.vagrantup.com/docs/synced-folders/rsync) - - Support [Vagrant provisioner with Ansible](https://www.vagrantup.com/docs/provisioning/ansible) + - Minimal [Vagrant base box + implementation](https://www.vagrantup.com/docs/boxes/base) + - Support [QEMU Guest + Agent](https://wiki.qemu.org/Features/GuestAgent) + - Support [VirtualBox Guest + Additions](https://www.virtualbox.org/manual/ch04.html) + - Support [Vagrant synced folder with + rsync](https://www.vagrantup.com/docs/synced-folders/rsync) + - Support [Vagrant provisioner with + Ansible](https://www.vagrantup.com/docs/provisioning/ansible) - Standardize disk partition with GPT - Standardize file system mount with UUID - Standardize network interface with `eth0` ### Quick Start -Once you have [Vagrant](https://www.vagrantup.com/docs/installation) and [VirtaulBox](https://www.virtualbox.org/) installed, run the following commands under your [project directory](https://learn.hashicorp.com/tutorials/vagrant/getting-started-project-setup?in=vagrant/getting-started): +Once you have [Vagrant](https://www.vagrantup.com/docs/installation) and +[VirtaulBox](https://www.virtualbox.org/) installed, run the following +commands under your [project +directory](https://learn.hashicorp.com/tutorials/vagrant/getting-started-project-setup?in=vagrant/getting-started): # Initialize Vagrant vagrant init alvistack/opensuse-leap-15.3 @@ -53,16 +73,23 @@ Once you have [Vagrant](https://www.vagrantup.com/docs/installation) and [Virtau ### `YYYYMMDD.Y.Z` -Release tags could be find from [GitHub Release](https://github.com/alvistack/vagrant-opensuse/releases) of this repository. Thus using these tags will ensure you are running the most up to date stable version of this image. +Release tags could be find from [GitHub +Release](https://github.com/alvistack/vagrant-opensuse/releases) of this +repository. Thus using these tags will ensure you are running the most +up to date stable version of this image. ### `YYYYMMDD.0.0` -Version tags ended with `.0.0` are rolling release rebuild by [GitLab pipeline](https://gitlab.com/alvistack/vagrant-opensuse/-/pipelines) in weekly basis. Thus using these tags will ensure you are running the latest packages provided by the base image project. +Version tags ended with `.0.0` are rolling release rebuild by [GitLab +pipeline](https://gitlab.com/alvistack/vagrant-opensuse/-/pipelines) in +weekly basis. Thus using these tags will ensure you are running the +latest packages provided by the base image project. ## License - Code released under [Apache License 2.0](LICENSE) - - Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/) + - Docs released under [CC + BY 4.0](http://creativecommons.org/licenses/by/4.0/) ## Author Information diff --git a/packer/libvirt-leap-15.2/autoinst.xml b/packer/libvirt-leap-15.2/autoinst.xml index bc1951e..527db60 100644 --- a/packer/libvirt-leap-15.2/autoinst.xml +++ b/packer/libvirt-leap-15.2/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/libvirt-leap-15.2/packer.json b/packer/libvirt-leap-15.2/packer.json index c747ffc..ac93a82 100644 --- a/packer/libvirt-leap-15.2/packer.json +++ b/packer/libvirt-leap-15.2/packer.json @@ -14,7 +14,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/distribution/leap/15.2/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" diff --git a/packer/libvirt-leap-15.3/autoinst.xml b/packer/libvirt-leap-15.3/autoinst.xml index 0fd6268..582b96a 100644 --- a/packer/libvirt-leap-15.3/autoinst.xml +++ b/packer/libvirt-leap-15.3/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/libvirt-leap-15.3/packer.json b/packer/libvirt-leap-15.3/packer.json index 2ddb1a2..9445c0d 100644 --- a/packer/libvirt-leap-15.3/packer.json +++ b/packer/libvirt-leap-15.3/packer.json @@ -14,7 +14,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/distribution/leap/15.3/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" diff --git a/packer/libvirt-tumbleweed/autoinst.xml b/packer/libvirt-tumbleweed/autoinst.xml index c40b243..676faa7 100644 --- a/packer/libvirt-tumbleweed/autoinst.xml +++ b/packer/libvirt-tumbleweed/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/libvirt-tumbleweed/packer.json b/packer/libvirt-tumbleweed/packer.json index 4d79048..d0826c0 100644 --- a/packer/libvirt-tumbleweed/packer.json +++ b/packer/libvirt-tumbleweed/packer.json @@ -14,7 +14,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/tumbleweed/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" @@ -29,8 +29,8 @@ "format": "qcow2", "headless": true, "http_directory": "./", - "iso_checksum": "f7201f2df36f5627eb7a110afca6579be4ce4ee833ab24766d24b1738989acb1", - "iso_url": "http://opensuse.ucom.am/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snapshot20210711-Media.iso", + "iso_checksum": "552592830f890d2c049cf412ef0c8da2810d70e6be6af19f12ed18fe04594f52", + "iso_url": "http://opensuse.ucom.am/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snapshot20210715-Media.iso", "memory": 8192, "net_device": "virtio-net", "qemu_binary": "kvm", diff --git a/packer/virtualbox-leap-15.2/autoinst.xml b/packer/virtualbox-leap-15.2/autoinst.xml index bc1951e..527db60 100644 --- a/packer/virtualbox-leap-15.2/autoinst.xml +++ b/packer/virtualbox-leap-15.2/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/virtualbox-leap-15.2/packer.json b/packer/virtualbox-leap-15.2/packer.json index ab736d7..a6cd72c 100644 --- a/packer/virtualbox-leap-15.2/packer.json +++ b/packer/virtualbox-leap-15.2/packer.json @@ -13,7 +13,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/distribution/leap/15.2/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" diff --git a/packer/virtualbox-leap-15.3/autoinst.xml b/packer/virtualbox-leap-15.3/autoinst.xml index 0fd6268..582b96a 100644 --- a/packer/virtualbox-leap-15.3/autoinst.xml +++ b/packer/virtualbox-leap-15.3/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/virtualbox-leap-15.3/packer.json b/packer/virtualbox-leap-15.3/packer.json index 81d1961..c5a252e 100644 --- a/packer/virtualbox-leap-15.3/packer.json +++ b/packer/virtualbox-leap-15.3/packer.json @@ -13,7 +13,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/distribution/leap/15.3/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" diff --git a/packer/virtualbox-tumbleweed/autoinst.xml b/packer/virtualbox-tumbleweed/autoinst.xml index c40b243..676faa7 100644 --- a/packer/virtualbox-tumbleweed/autoinst.xml +++ b/packer/virtualbox-tumbleweed/autoinst.xml @@ -123,8 +123,8 @@ chown -Rf root:root /etc/sudoers.d ssh-keygen -A systemctl enable sshd.service sed -ie "s/^GRUB_DEFAULT=.*/GRUB_DEFAULT=\"0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub -sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub +sed -ie "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0\"/g" /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg dracut -f exit 0 diff --git a/packer/virtualbox-tumbleweed/packer.json b/packer/virtualbox-tumbleweed/packer.json index fb4f667..566b42f 100644 --- a/packer/virtualbox-tumbleweed/packer.json +++ b/packer/virtualbox-tumbleweed/packer.json @@ -13,7 +13,7 @@ "", "", "", - "linux netsetup=dhcp net.ifnames=0 biosdevname=0 lang=en_US textmode=1 ", + "linux netsetup=dhcp net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 lang=en_US textmode=1 ", "install=http://download.opensuse.org/tumbleweed/repo/oss ", "autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinst.xml ", "" @@ -24,8 +24,8 @@ "guest_os_type": "OpenSUSE_64", "headless": true, "http_directory": "./", - "iso_checksum": "f7201f2df36f5627eb7a110afca6579be4ce4ee833ab24766d24b1738989acb1", - "iso_url": "http://opensuse.ucom.am/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snapshot20210711-Media.iso", + "iso_checksum": "552592830f890d2c049cf412ef0c8da2810d70e6be6af19f12ed18fe04594f52", + "iso_url": "http://opensuse.ucom.am/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snapshot20210715-Media.iso", "memory": 8192, "shutdown_command": "sudo shutdown -h now", "ssh_password": "vagrant", diff --git a/playbooks/prepare.yml b/playbooks/prepare.yml index 79c36ad..8614c15 100644 --- a/playbooks/prepare.yml +++ b/playbooks/prepare.yml @@ -102,7 +102,7 @@ - name: fedora | yum install *.rpm raw: | set -eu - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip when: ansible_distribution | lower == "fedora" changed_when: false failed_when: false @@ -111,7 +111,7 @@ raw: | set -eu yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip when: ansible_os_family | lower == "redhat" and ansible_distribution_major_version | lower == "8" changed_when: false failed_when: false @@ -121,7 +121,7 @@ set -eu subscription-manager repos --enable=rhel-7-server-optional-rpms || echo $? yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-devel python3-jmespath python3-libselinux python3-lxml python3-pip python3-setuptools python3-virtualenv python3-wheel python36-cryptography python36-netaddr rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-devel python3-jmespath python3-libselinux python3-lxml python3-pip python3-setuptools python3-virtualenv python3-wheel python36-cryptography python36-netaddr rsync shadow-utils sudo tar unzip util-linux xz yum-plugin-versionlock yum-utils zip when: ansible_os_family | lower == "redhat" and ansible_distribution_major_version | lower == "7" changed_when: false failed_when: false diff --git a/playbooks/tasks/debian.yml b/playbooks/tasks/debian.yml index 7cc40a6..6a27486 100644 --- a/playbooks/tasks/debian.yml +++ b/playbooks/tasks/debian.yml @@ -48,8 +48,8 @@ state: "present" loop: - { option: "GRUB_DEFAULT", value: "0" } - - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" } - - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" } + - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } + - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } - name: update-grub command: update-grub diff --git a/playbooks/tasks/redhat.yml b/playbooks/tasks/redhat.yml index e186e99..87cba0e 100644 --- a/playbooks/tasks/redhat.yml +++ b/playbooks/tasks/redhat.yml @@ -39,8 +39,8 @@ state: "present" loop: - { option: "GRUB_DEFAULT", value: "0" } - - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" } - - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" } + - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } + - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } - name: grub2-mkconfig -o /boot/grub2/grub.cfg command: grub2-mkconfig -o /boot/grub2/grub.cfg diff --git a/playbooks/tasks/suse.yml b/playbooks/tasks/suse.yml index d583b21..cffe5db 100644 --- a/playbooks/tasks/suse.yml +++ b/playbooks/tasks/suse.yml @@ -56,8 +56,8 @@ state: "present" loop: - { option: "GRUB_DEFAULT", value: "0" } - - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0" } - - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0" } + - { option: "GRUB_CMDLINE_LINUX", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } + - { option: "GRUB_CMDLINE_LINUX_DEFAULT", value: "net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0" } - name: grub2-mkconfig -o /boot/grub2/grub.cfg command: grub2-mkconfig -o /boot/grub2/grub.cfg diff --git a/roles/ansible b/roles/ansible index 0dfb2ae..84a6af3 160000 --- a/roles/ansible +++ b/roles/ansible @@ -1 +1 @@ -Subproject commit 0dfb2ae84f79cbb76686491ce159ecd180f1448f +Subproject commit 84a6af3d6df3cf5f03e276189c7df380107aeb80 diff --git a/roles/cloud_init b/roles/cloud_init index c5b4940..3fb56f0 160000 --- a/roles/cloud_init +++ b/roles/cloud_init @@ -1 +1 @@ -Subproject commit c5b4940cec475377537fdc1cdacd68188d39b258 +Subproject commit 3fb56f08b6689baf96f6f2b27ba89e46dbb14913 diff --git a/roles/kernel b/roles/kernel index 8aac438..f766e68 160000 --- a/roles/kernel +++ b/roles/kernel @@ -1 +1 @@ -Subproject commit 8aac438dd46c77e5108f48776167e99231bf25ae +Subproject commit f766e683259ba6902c73f3765d11c2085404db33 diff --git a/roles/locales b/roles/locales index a089b4a..39e5017 160000 --- a/roles/locales +++ b/roles/locales @@ -1 +1 @@ -Subproject commit a089b4a04d3c550f53a62fd08e98b945f936ef18 +Subproject commit 39e501722ae8febd064559f127abaa7fdfbb5cd6 diff --git a/roles/python b/roles/python index 5a1ed96..d249f68 160000 --- a/roles/python +++ b/roles/python @@ -1 +1 @@ -Subproject commit 5a1ed961dbb7c289cd9704d8374409d61304c5e6 +Subproject commit d249f68cbc12531655ca2aad6778b017c851c251 diff --git a/roles/sshd b/roles/sshd index bf9e03c..ddae9af 160000 --- a/roles/sshd +++ b/roles/sshd @@ -1 +1 @@ -Subproject commit bf9e03c27eb0e86b5713ab8cb69e8f33a684ecd5 +Subproject commit ddae9af53c4c18e25494d015768707a1e4533e04 diff --git a/roles/timezone b/roles/timezone index 40ee7a8..e4501ad 160000 --- a/roles/timezone +++ b/roles/timezone @@ -1 +1 @@ -Subproject commit 40ee7a8fb4df7ee9a61653a4b40fd4793dfcded5 +Subproject commit e4501ad022833f038b2691d0e45575c79b02c97c diff --git a/scripts/bootstrap-ansible.sh b/scripts/bootstrap-ansible.sh index 4b100e6..80af816 100755 --- a/scripts/bootstrap-ansible.sh +++ b/scripts/bootstrap-ansible.sh @@ -30,7 +30,7 @@ fi if [ -x "$(command -v yum)" ]; then yum makecache yum update -y - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel sudo tar unzip xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel sudo tar unzip xz yum-utils zip fi # Prepare Zypper dependencies