How To Install ansible-openstack-modules on Fedora 36

In this tutorial we learn how to install ansible-openstack-modules in Fedora 36. ansible-openstack-modules is Unofficial Ansible modules for managing Openstack

Introduction

In this tutorial we learn how to install ansible-openstack-modules on Fedora 36.

What is ansible-openstack-modules

Unofficial Ansible modules for managing and deployment of OpenStack. Contains all the necesary Neutron networking modules and also some Cinder, Glance, Keystone and Nova modules missing in the official modules.

We can use yum or dnf to install ansible-openstack-modules on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ansible-openstack-modules.

Install ansible-openstack-modules on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ansible-openstack-modules using dnf by running the following command:

sudo dnf -y install ansible-openstack-modules

Install ansible-openstack-modules on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ansible-openstack-modules using yum by running the following command:

sudo yum -y install ansible-openstack-modules

How To Uninstall ansible-openstack-modules on Fedora 36

To uninstall only the ansible-openstack-modules package we can use the following command:

sudo dnf remove ansible-openstack-modules

ansible-openstack-modules Package Contents on Fedora 36

/usr/share/ansible/ansible-openstack-modules
/usr/share/ansible/ansible-openstack-modules/cinder_manage
/usr/share/ansible/ansible-openstack-modules/glance
/usr/share/ansible/ansible-openstack-modules/glance_manage
/usr/share/ansible/ansible-openstack-modules/keystone_manage
/usr/share/ansible/ansible-openstack-modules/keystone_service
/usr/share/ansible/ansible-openstack-modules/neutron_floating_ip
/usr/share/ansible/ansible-openstack-modules/neutron_network
/usr/share/ansible/ansible-openstack-modules/neutron_router
/usr/share/ansible/ansible-openstack-modules/neutron_router_gateway
/usr/share/ansible/ansible-openstack-modules/neutron_router_interface
/usr/share/ansible/ansible-openstack-modules/neutron_sec_group
/usr/share/ansible/ansible-openstack-modules/neutron_subnet
/usr/share/ansible/ansible-openstack-modules/nova_flavor
/usr/share/ansible/ansible-openstack-modules/nova_manage
/usr/share/doc/ansible-openstack-modules
/usr/share/doc/ansible-openstack-modules/LICENSE
/usr/share/doc/ansible-openstack-modules/README.md

References

Summary

In this tutorial we learn how to install ansible-openstack-modules on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).