1
0
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:
OpenShift Merge Robot
2020-11-18 11:07:44 +01:00
committed by GitHub
2 changed files with 13 additions and 3 deletions

View File

@@ -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"

View File

@@ -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 && \