Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1910049: Revert "openstack UPI: Use ansible-galaxy" #4506

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 2 additions & 10 deletions docs/user/openstack/install_upi.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,7 @@ sudo subscription-manager repos \

Then install the packages:
```sh
sudo dnf install python3-openstackclient ansible

sudo ansible-galaxy collection install \
ansible.netcommon \
openstack.cloud
sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr
```

Make sure that `python` points to Python3:
Expand All @@ -168,11 +164,7 @@ sudo alternatives --set python /usr/bin/python3
This command installs all required dependencies on Fedora:

```sh
sudo dnf install python3-openstackclient ansible

sudo ansible-galaxy collection install \
ansible.netcommon \
openstack.cloud
sudo dnf install python3-openstackclient ansible python3-openstacksdk python3-netaddr
```

[ansible-upi]: ../../../upi/openstack "Ansible Playbooks for Openstack UPI"
Expand Down
4 changes: 1 addition & 3 deletions images/openstack/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ 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 unzip jq && \
python3-openstackclient ansible-2.9.14-1.el8ae python3-openstacksdk python3-netaddr unzip jq && \
yum clean all && rm -rf /var/cache/yum/*

RUN ansible-galaxy collection install ansible.netcommon openstack.cloud

RUN python -m pip install yq

# The Continuous Integration machinery relies on Route53 for DNS while testing the cluster.
Expand Down