Sample Ansible Configuration File (ansible.cfg) for Galaxy NG
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
.Categories:
This is an illustrative example of an ansible.cfg
configuration file used
to connect to the private Ansible Automation Hub based on Galaxy NG running
on the c2d-galaxy1
server. Please note that the client_id
and URL settings
differ from those we we use for connecting to the
Ansible Galaxy
website.
The ansible.cfg
file is automatically generated by Ansible and can be found
in the home directory of the vagrant
user on the c2d-xtop
virtual desktop.
For more details, refer to the group_vars/xtop/main.yml
file in the
c2platform/ansible
project.
[galaxy]
server_list=published, community
validate_certs=no
[galaxy_server.published]
url=https://galaxy.c2platform.org/api/galaxy/
client_id=galaxy-ng
username=admin
password=secret
validate_certs=no
[galaxy_server.community]
url=https://galaxy.c2platform.org/api/galaxy/content/community
client_id=galaxy-ng
username=admin
password=secret
validate_certs=no
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified November 13, 2024: translate false C2-587 (af41e45)