From: David Galloway Date: Thu, 25 Aug 2022 19:01:31 +0000 (-0400) Subject: cobbler: Don't run repos tag on CentOS9 during trigger X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5ef702c091d29c5e8bccabb64eb290388dbeed9c;p=ceph-cm-ansible.git 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 --- diff --git a/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh b/roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh index 0fa62f0..3120bf5 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