Skip to content

Commit b282c5d

Browse files
committed
Issue #453: Update some broken CentOS 8 references in the code examples.
1 parent a7b0308 commit b282c5d

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
distro: centos7
114114

115115
- playbook: security.yml
116-
distro: centos8
116+
distro: rockylinux8
117117

118118
- playbook: solr.yml
119119
distro: ubuntu2004

.github/workflows/molecule-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
distro:
17-
- centos8
17+
- rockylinux8
1818
- debian10
1919

2020
steps:

first-ansible-playbook/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vi: set ft=ruby :
33

44
Vagrant.configure("2") do |config|
5-
config.vm.box = "geerlingguy/centos7"
5+
config.vm.box = "geerlingguy/rockylinux8"
66

77
# Provisioning configuration for Ansible.
88
config.vm.provision "ansible" do |ansible|

molecule/molecule/default/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lint: |
99
ansible-lint
1010
platforms:
1111
- name: instance
12-
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos8}-ansible:latest"
12+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-rockylinux8}-ansible:latest"
1313
command: ""
1414
volumes:
1515
- /sys/fs/cgroup:/sys/fs/cgroup:ro

orchestration/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
77
# General Vagrant VM configuration.
8-
config.vm.box = "geerlingguy/centos8"
8+
config.vm.box = "geerlingguy/rockylinux8"
99
config.ssh.insert_key = false
1010
config.vm.synced_folder ".", "/vagrant", disabled: true
1111
config.vm.provider :virtualbox do |v|

security/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vi: set ft=ruby :
33

44
Vagrant.configure("2") do |config|
5-
config.vm.box = "geerlingguy/centos8"
5+
config.vm.box = "geerlingguy/rockylinux8"
66
config.vm.synced_folder '.', '/vagrant', disabled: true
77
config.ssh.insert_key = false
88

tests/molecule.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pip3 install ansible molecule[docker] ansible-lint yamllint docker
88

99
cd molecule
1010

11-
# Run default test (CentOS).
11+
# Run default test (Rocky Linux).
1212
molecule test
1313

1414
# Run tests on Debian.

tests/orchestration.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pip3 install ansible
99
cd orchestration/scripts
1010

1111
# Test Django app installation.
12-
docker run -d --name app -p 80:80 --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-centos8-ansible
12+
docker run -d --name app -p 80:80 --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-rockylinux8-ansible
1313
./app.sh
1414

1515
# Test Django db installation.
16-
docker run -d --name db -p 3360:3360 --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-centos8-ansible
16+
docker run -d --name db -p 3360:3360 --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro geerlingguy/docker-rockylinux8-ansible
1717
./db.sh
1818

1919
# Other tests from the book.

0 commit comments

Comments
 (0)