]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Update the config_template plugin for ansible2 668/head
authorKevin Carter <kevin.carter@rackspace.com>
Wed, 30 Mar 2016 22:23:09 +0000 (17:23 -0500)
committerKevin Carter <kevin.carter@rackspace.com>
Wed, 30 Mar 2016 22:23:09 +0000 (17:23 -0500)
commit6dea2e2f89046df63a234c1f6df507bfbebae004
treed857be5138ad2d6070776597b5ffb44a0862aa8b
parent0784b8c5b14a5c2ed7dafd3be8db2eb5237b27b1
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>
plugins/actions/_v1_config_template.py [new file with mode: 0644]
plugins/actions/_v2_config_template.py [new file with mode: 0644]
plugins/actions/config_template.py