Ansible action plugin to template arbitrary json ini yaml data
Go to file
Kevin Carter f9e6f567ba
Update the config_template plugin for ansible2
This change updates the config_template plugin to load
the version of the config_template needed based on the
detected version of ansible running. Note, Once the
upstream change merges for ansible 2 [0] we should
drop the ansible 2  version of this plugin.

[0] - https://github.com/ansible/ansible/pull/12555

Change-Id: Ifbdde0f30ee2bd8025ede07c86234527ba9891db
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-03-30 16:13:26 -05:00
action Update the config_template plugin for ansible2 2016-03-30 16:13:26 -05:00
callback Rename plugins folders to standard Ansible names 2016-02-10 00:54:11 +00:00
doc [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:38:19 -05:00
filter Created deprecation filter 2016-02-29 15:20:34 -06:00
library Merge "Fixes keystone library incompatibility with the Keystone v3 client" 2016-03-03 22:53:36 +00:00
lookup Strip .git from _git_repo variables 2016-03-03 08:46:50 +00:00
meta first commit 2016-01-25 18:07:53 -06:00
releasenotes/notes Add MultiStrOps support to config_template 2016-02-10 09:12:36 -06:00
.gitignore Updated repo for new org 2016-01-27 10:31:29 -06:00
.gitreview Updated repo for new org 2016-01-27 10:31:29 -06:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:38:19 -05:00
dev-requirements.txt first commit 2016-01-25 18:07:53 -06:00
LICENSE Update LICENSE file 2016-02-01 16:47:07 +00:00
other-requirements.txt Add curl to bindep requirements 2016-03-04 19:24:52 +00:00
README.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:38:19 -05:00
run_tests.sh first commit 2016-01-25 18:07:53 -06:00
setup.cfg first commit 2016-01-25 18:07:53 -06:00
setup.py first commit 2016-01-25 18:07:53 -06:00
test-requirements.txt Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:52:57 +00:00
tox.ini Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:52:57 +00:00

OpenStack-Ansible Plugins

These are the plugins the OpenStack-Ansible deployment project relies on. The plugins can be added to any Ansible project by simply cloning this repository and setting up the ansible.cfg file to point at them as additional plugins for your project.

Actions

This project provides the Ansible modules:

  • config_template
  • dist_sort
  • glance
  • keystone
  • memcached
  • name2int
  • neutron
  • provider_networks

Filters

This project provides the Ansible Jinja2 filters:

  • bit_length_power_of_2
  • netloc
  • netloc_no_port
  • netorigin
  • string_2_int
  • pip_requirement_names
  • pip_constraint_update
  • splitlines
  • filtered_list
  • git_link_parse
  • git_link_parse_name
  • deprecated

Lookups

This project provides the lookup:

  • with_py_pkgs

Callbacks

This project provides an Ansible callback that will report task profiling timings

Example ansible.cfg file

[defaults]
lookup_plugins = /etc/ansible/plugins/lookups
filter_plugins = /etc/ansible/plugins/filters
action_plugins = /etc/ansible/plugins/actions
library = /etc/ansible/plugins/library

Example role requirement overload for automatic plugin download

The Ansible role requirement file can be used to overload the ansible- galaxy command to automatically fetch the plugins for you in a given project. To do this add the following lines to your ansible-role- requirements.yml file.

- name: plugins
  src: https://github.com/openstack/openstack-ansible-plugins
  path: /etc/ansible
  scm: git
  version: master