Install Ansible Using Pyenv: A Bash Script Example

Example of an Ansible Configuration File ansible.cfg that is used on c2d-xtop to connect to the private Ansible Automation Hub based on Galaxy NG running on c2d-galaxy1.

This example showcases a Bash script, penv.sh  , which leverages pyenv  to seamlessly install Python and Ansible. This script is employed within the virtual desktop environment named c2d-xtop. For detailed usage instructions, please refer to the guide on Using the Automation Hub (Galaxy NG) from the Virtual Desktop.

The script penv.sh utilizes pyenv to simplify the installation process of Python and Ansible. It created for use in the virtual desktop environment known as c2d-xtop. For instructions on how to employ this script, please consult the guide titled Using the Automation Hub (Galaxy NG) from the Virtual Desktop.

The pyenv  utility is also used to create the Ansible Execution Environment for Rijkswaterstaat ( RWS) see c2platform/rws/ansible-execution-environment for more information.



Last modified November 14, 2024: guideline tags en fme flow tags RWS-353 (ed0ed3f)