Ansible action plugin to template arbitrary json ini yaml data
Go to file
Jimmy McCrory 04648159ac Add test playbook for filters
Add a playbook to test each of the osa-filters.

The linters tox test environment has been updated to include a run of
this playbook.

Change-Id: I0bd877ce7bbd56edc52cf071d02d55d0210f9829
2016-08-03 07:52:29 +00:00
action Added option to support case-insensitive keys 2016-04-21 16:09:18 -05:00
callback Add the Ansible human_log call back plugin 2016-06-30 13:58:49 -05: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 Update dist-sort module for better effectiveness 2016-07-20 08:43:01 -05:00
lookup Update py_pkgs to set options group membership and itemise global pins 2016-07-29 07:26:18 +00:00
meta first commit 2016-01-25 18:07:53 -06:00
releasenotes Update the lookup plugin to force dep ordering 2016-07-18 15:49:22 +00:00
tests Add test playbook for filters 2016-08-03 07:52:29 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:22:11 +01: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
LICENSE Update LICENSE file 2016-02-01 16:47:07 +00:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:57:43 +01:00
README.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:38:19 -05:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:57:43 +01:00
setup.cfg first commit 2016-01-25 18:07:53 -06:00
setup.py Updated from global requirements 2016-07-15 03:58:17 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:58:17 +00:00
tox.ini Add test playbook for filters 2016-08-03 07:52:29 +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