How To Install ansible-collection-microsoft-sql on Fedora 36

In this tutorial we learn how to install ansible-collection-microsoft-sql in Fedora 36. ansible-collection-microsoft-sql is The Ansible collection for Microsoft SQL Server management

Introduction

In this tutorial we learn how to install ansible-collection-microsoft-sql on Fedora 36.

What is ansible-collection-microsoft-sql

This RPM installs the Ansible collection for Microsoft SQL Server management microsoft.sql. This RPM also installs the roles provided by the collection in the legacy roles format for users of Ansible < 2.9.

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

Install ansible-collection-microsoft-sql 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-collection-microsoft-sql using dnf by running the following command:

sudo dnf -y install ansible-collection-microsoft-sql

Install ansible-collection-microsoft-sql 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-collection-microsoft-sql using yum by running the following command:

sudo yum -y install ansible-collection-microsoft-sql

How To Uninstall ansible-collection-microsoft-sql on Fedora 36

To uninstall only the ansible-collection-microsoft-sql package we can use the following command:

sudo dnf remove ansible-collection-microsoft-sql

ansible-collection-microsoft-sql Package Contents on Fedora 36

/usr/share/ansible/collections/ansible_collections/microsoft
/usr/share/ansible/collections/ansible_collections/microsoft/sql
/usr/share/ansible/collections/ansible_collections/microsoft/sql/FILES.json
/usr/share/ansible/collections/ansible_collections/microsoft/sql/LICENSE-server
/usr/share/ansible/collections/ansible_collections/microsoft/sql/MANIFEST.json
/usr/share/ansible/collections/ansible_collections/microsoft/sql/README.md
/usr/share/ansible/collections/ansible_collections/microsoft/sql/meta
/usr/share/ansible/collections/ansible_collections/microsoft/sql/meta/runtime.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/README.md
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/defaults
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/defaults/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/handlers
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/handlers/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/meta
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/meta/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/tasks
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/tasks/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/tasks/mssql_conf_setting.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/tasks/verify_password.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/vars
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/vars/CentOS_7.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/vars/RedHat.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/vars/RedHat_7.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/roles/server/vars/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/.fmf
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/.fmf/version
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/ansible.cfg
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/provision.fmf
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles/caller
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles/caller/tasks
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles/caller/tasks/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles/caller/vars
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/roles/caller/vars/main.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/sql_script.sql
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tasks
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tasks/mssql-sever-increase-start-limit.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tasks/mssql_conf_verify.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tasks/verify_package.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tasks/verify_settings.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_accept_eula_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_default_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_idempotency_2017.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_idempotency_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_include_vars_from_parent_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_input_sql_file_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_password_2017.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_password_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_powershell_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_tls_2019.yml
/usr/share/ansible/collections/ansible_collections/microsoft/sql/tests/server/tests_upgrade_2017.yml
/usr/share/ansible/roles/microsoft.sql-server
/usr/share/doc/ansible-collection-microsoft-sql/collection/README.html
/usr/share/doc/ansible-collection-microsoft-sql/collection/README.md
/usr/share/doc/ansible-collection-microsoft-sql/collection/roles/server/README.html
/usr/share/doc/ansible-collection-microsoft-sql/collection/roles/server/README.md
/usr/share/doc/ansible-collection-microsoft-sql/sql-server/README.html
/usr/share/doc/ansible-collection-microsoft-sql/sql-server/README.md
/usr/share/licenses/ansible-collection-microsoft-sql/sql-server.LICENSE
/usr/share/microsoft
/usr/share/microsoft/sql-server
/usr/share/microsoft/sql-server/LICENSE
/usr/share/microsoft/sql-server/README.html
/usr/share/microsoft/sql-server/README.md
/usr/share/microsoft/sql-server/ansible_pytest_extra_requirements.txt
/usr/share/microsoft/sql-server/custom_requirements.txt
/usr/share/microsoft/sql-server/defaults
/usr/share/microsoft/sql-server/defaults/main.yml
/usr/share/microsoft/sql-server/handlers
/usr/share/microsoft/sql-server/handlers/main.yml
/usr/share/microsoft/sql-server/meta
/usr/share/microsoft/sql-server/meta/main.yml
/usr/share/microsoft/sql-server/molecule_extra_requirements.txt
/usr/share/microsoft/sql-server/pylint_extra_requirements.txt
/usr/share/microsoft/sql-server/pytest_extra_requirements.txt
/usr/share/microsoft/sql-server/tasks
/usr/share/microsoft/sql-server/tasks/main.yml
/usr/share/microsoft/sql-server/tasks/mssql_conf_setting.yml
/usr/share/microsoft/sql-server/tasks/verify_password.yml
/usr/share/microsoft/sql-server/tests
/usr/share/microsoft/sql-server/tests/.fmf
/usr/share/microsoft/sql-server/tests/.fmf/version
/usr/share/microsoft/sql-server/tests/ansible.cfg
/usr/share/microsoft/sql-server/tests/provision.fmf
/usr/share/microsoft/sql-server/tests/roles
/usr/share/microsoft/sql-server/tests/roles/caller
/usr/share/microsoft/sql-server/tests/roles/caller/tasks
/usr/share/microsoft/sql-server/tests/roles/caller/tasks/main.yml
/usr/share/microsoft/sql-server/tests/roles/caller/vars
/usr/share/microsoft/sql-server/tests/roles/caller/vars/main.yml
/usr/share/microsoft/sql-server/tests/sql_script.sql
/usr/share/microsoft/sql-server/tests/tasks
/usr/share/microsoft/sql-server/tests/tasks/mssql-sever-increase-start-limit.yml
/usr/share/microsoft/sql-server/tests/tasks/mssql_conf_verify.yml
/usr/share/microsoft/sql-server/tests/tasks/verify_package.yml
/usr/share/microsoft/sql-server/tests/tasks/verify_settings.yml
/usr/share/microsoft/sql-server/tests/tests_accept_eula_2019.yml
/usr/share/microsoft/sql-server/tests/tests_default_2019.yml
/usr/share/microsoft/sql-server/tests/tests_idempotency_2017.yml
/usr/share/microsoft/sql-server/tests/tests_idempotency_2019.yml
/usr/share/microsoft/sql-server/tests/tests_include_vars_from_parent_2019.yml
/usr/share/microsoft/sql-server/tests/tests_input_sql_file_2019.yml
/usr/share/microsoft/sql-server/tests/tests_password_2017.yml
/usr/share/microsoft/sql-server/tests/tests_password_2019.yml
/usr/share/microsoft/sql-server/tests/tests_powershell_2019.yml
/usr/share/microsoft/sql-server/tests/tests_tls_2019.yml
/usr/share/microsoft/sql-server/tests/tests_upgrade_2017.yml
/usr/share/microsoft/sql-server/tox.ini
/usr/share/microsoft/sql-server/vars
/usr/share/microsoft/sql-server/vars/CentOS_7.yml
/usr/share/microsoft/sql-server/vars/RedHat.yml
/usr/share/microsoft/sql-server/vars/RedHat_7.yml
/usr/share/microsoft/sql-server/vars/main.yml

References

Summary

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