File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,16 @@ if [ $ID == "ol" ] || [ $ID == "centos" ] ; then
4141 sudo yum install --enablerepo=$repo -y python38.x86_64
4242 sudo python3.8 -m pip install ansible cryptography netaddr
4343 sudo mkdir /etc/ansible
44+ sudo python3 -m pip install -U pip
45+ sudo python3 -m pip install netaddr --upgrade
46+ sudo python3 -m pip install setuptools_rust --upgrade
47+ sudo python3 -m pip install requests --upgrade
48+ sudo python3 -m pip install urllib3 --upgrade
4449 fi
4550 sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
4651 sudo yum install -y terraform
47- sudo python3 -m pip install -U pip
48- sudo python3 -m pip install oci-cli --upgrade
49- sudo python3 -m pip install netaddr --upgrade
50- sudo python3 -m pip install setuptools_rust --upgrade
51- sudo python3 -m pip install requests --upgrade
52- sudo python3 -m pip install urllib3 --upgrade
52+ sudo python3 -m pip install oci-cli --upgrade
53+
5354
5455elif [ $ID == " debian" ] || [ $ID == " ubuntu" ] ; then
5556 # checking here as well to be sure that the lock file is not being held
Original file line number Diff line number Diff line change 11[bastion]
2- ${ bastion_name} ansible_host=${ bastion_ip} ansible_user=${ bastion_username} role=bastion ansible_python_interpreter=/usr/bin/python3
2+ ${ bastion_name} ansible_host=${ bastion_ip} ansible_user=${ bastion_username} role=bastion
33[slurm_backup]
44%{ if backup_name != " " } ${ backup_name} ansible_host=${ backup_ip} ansible_user=${ compute_username} role=bastion%{ endif }
55[login]
Original file line number Diff line number Diff line change 11ssl_cert_path : ' /etc/ssl/certs'
22ssl_ca_cert : ' {{ ssl_cert_path }}/cluster-ca.crt'
33ssl_cert_group : ssl
4+ set_fact :
5+ ansible_python_interpreter : /usr/bin/python3
6+ when : ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8'
You can’t perform that action at this time.
0 commit comments