You can install the Infoblox NIOS modules for Ansible Collections from the Ansible Galaxy portal or from the GitHub repository. Ensure that your setup meets the Prerequisites, and then proceed to installing the collection.
Note |
---|
Note Prior versions of NIOS Modules for Ansible Collections such as version 1.1.0 or earlier require Ansible core version 2.10 or earlier to function properly. For software versions recommended by Infoblox, see Prerequisites. |
...
Alternatively, you can download the TAR file of the latest or a prior version of NIOS Modules for Ansible Collections, which is hosted in Galaxy, and then install it offline. To perform an offline installation, complete the following steps:
On the nios modules page in the Ansible Galaxy portal, from the Install Version drop-down list, choose the required version of NIOS Modules for Ansible Collections.
By default, the latest version is selected.Click Download tarball and save the file.
In the CLI, go to the
~/.ansible
directory and run the following command:$ ansible-galaxy collection install infoblox-nios_modules-<version>.tar.gz -p /home/<user>/.ansible/collections
For the list of supported versions, see the Software compatible with Infoblox NIOS Modules for Ansible Collections table.
Installing from the GitHub Repository
...
To download NIOS Modules for Ansible Collections and perform an offline installation, complete the following steps:
Clone the Git repository by running the following command:
$ git clone https://github.com/infobloxopen/infoblox-ansible.git
Build the collection by running the following command from the root directory of the collection:
$ ansible-galaxy collection build
This creates a tarball of the built collection, in the current directory.Install the collection:
$ ansible-galaxy collection install infoblox-nios_modules-<version>.tar.gz -p /home/<user>/.ansible/collections