From 5ef702c091d29c5e8bccabb64eb290388dbeed9c Mon Sep 17 00:00:00 2001 From: David Galloway Date: Thu, 25 Aug 2022 15:01:31 -0400 Subject: [PATCH] cobbler: Don't run repos tag on CentOS9 during trigger No longer needed as latest CentOS9 ISO fixed this problem. Signed-off-by: David Galloway --- .../templates/triggers/install/post/cephlab_ansible.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh b/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh index 0fa62f09..3120bf55 100644 --- a/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh +++ b/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh @@ -36,10 +36,6 @@ export ANSIBLE_HOST_KEY_CHECKING=False if [[ $profile == *"8.stream"* ]] then ansible-playbook tools/convert-to-centos-stream.yml -v --limit $name* 2>&1 >> /var/log/ansible/$name.log -elif [[ $profile == *"9.stream"* ]] -then - # For some reason, we end up with no repos on the first boot without doing this. - ansible-playbook testnodes.yml --tags repos -v --limit $name* 2>&1 >> /var/log/ansible/$name.log fi # Tell ansible to create users, populate authorized_keys, and zap non-root disks -- 2.47.3