Kevin Carter 523afbd014
Fix py_pkgs lookup to not include optional packages
This change fixes a regression created when we Updated lookup plugin
to allow it to also index requirement files. The offending change is
here: "I5e981c818a1da50aa0ae15630655a8dfac4f3db7". This simply ensures
that only non-optional packages are part of the specific role
requirements.

Change-Id: I1b65a595d8691fdd38ffd568db71a1bcc06207c9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-07-27 08:29:46 -05:00
2016-02-29 15:20:34 -06:00
2016-01-25 18:07:53 -06:00
2016-05-04 15:22:11 +01:00
2016-01-27 10:31:29 -06:00
2016-02-01 16:47:07 +00:00
2016-05-03 08:57:43 +01:00
2016-01-25 18:07:53 -06:00
2016-07-15 03:58:17 +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
Description
Ansible action plugin to template arbitrary json ini yaml data
Readme 1.6 MiB
Languages
Python 100%