mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
Merge pull request #4379 from shiftstack/osasinfra-2169
openstack UPI: Use ansible-galaxy
This commit is contained in:
@@ -150,7 +150,11 @@ sudo subscription-manager repos \
|
||||
|
||||
Then install the packages:
|
||||
```sh
|
||||
sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr
|
||||
sudo dnf install python3-openstackclient ansible
|
||||
|
||||
sudo ansible-galaxy collection install \
|
||||
ansible.netcommon \
|
||||
openstack.cloud
|
||||
```
|
||||
|
||||
Make sure that `python` points to Python3:
|
||||
@@ -163,7 +167,11 @@ sudo alternatives --set python /usr/bin/python3
|
||||
This command installs all required dependencies on Fedora:
|
||||
|
||||
```sh
|
||||
sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr
|
||||
sudo dnf install python3-openstackclient ansible
|
||||
|
||||
sudo ansible-galaxy collection install \
|
||||
ansible.netcommon \
|
||||
openstack.cloud
|
||||
```
|
||||
|
||||
[ansible-upi]: ../../../upi/openstack "Ansible Playbooks for Openstack UPI"
|
||||
|
||||
@@ -25,9 +25,11 @@ RUN yum install --setopt=tsflags=nodocs -y git gzip util-linux glibc-locale-sour
|
||||
|
||||
RUN yum update -y && \
|
||||
yum install --setopt=tsflags=nodocs -y \
|
||||
python3-openstackclient ansible-2.9.14-1.el8ae python3-openstacksdk python3-netaddr unzip jq && \
|
||||
python3-openstackclient ansible-2.9.14-1.el8ae unzip jq && \
|
||||
yum clean all && rm -rf /var/cache/yum/*
|
||||
|
||||
RUN ansible-galaxy collection install ansible.netcommon openstack.cloud
|
||||
|
||||
# The Continuous Integration machinery relies on Route53 for DNS while testing the cluster.
|
||||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
|
||||
unzip awscliv2.zip && \
|
||||
|
||||
Reference in New Issue
Block a user