27 lines
1 KiB
ReStructuredText
27 lines
1 KiB
ReStructuredText
.. title: Quick Ansible Tip
|
||
.. slug: quick-ansible-tip
|
||
.. date: 2015-05-27 07:24:16 UTC-05:00
|
||
.. tags: ansible,sa
|
||
.. category:
|
||
.. link:
|
||
.. description:
|
||
.. type: text
|
||
|
||
This is a quick post to capture something seen. `Ansibel <http://www.ansible.com>`_ 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?
|