Skip to main content

Quick Ansible Tip

This is a quick post to capture something seen. Ansibel is a configuration management tool that I have been learning recently. More details in a future post. This is just to capture this idea:

From: Smith, Chris (Big Data)

To: ansible

Ansible Galaxy is a centralised Github repository of public Ansible content, see: https://galaxy.ansible.com/ It uses a local routine that is installed when you install Ansible, called ‘ansible-galaxy’, to create a blank template for your Ansible content. What is not well known is you can run ‘ansible-galaxy’ in offline mode to create a blank template using the command:

# ansible-galaxy init --offline my-role

Enjoy,

Chris

More on this as I get some more back-ends stuff taken care of, like setting up a git repo and maybe auto-deploy from git push?