]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Sync config_template with upstream for Ansible 2.6
authorAndy McCrae <andy.mccrae@gmail.com>
Thu, 12 Jul 2018 11:24:15 +0000 (12:24 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 15 Oct 2018 22:00:35 +0000 (22:00 +0000)
commitee1b6dd83c22ef9c9d5a748186cec75126c98dd6
treefbffc749daeeb57f160b9fde4f1f10a695dd5a59
parentd0b03f6faa18b2593de8c6a229f46fda36be6994
Sync config_template with upstream for Ansible 2.6

The original_basename option in the copy module changed to be
_original_basename in Ansible 2.6+, this PR resyncs the config_template
module to allow this to work with both Ansible 2.6+ and before.

Additionally, this PR removes the _v1_config_template.py file, since
ceph-ansible no longer supports versions of Ansible before version 2,
and so we shouldn't continue to carry that code.

Closes: #2843
Signed-off-by: Andy McCrae <andy.mccrae@gmail.com>
(cherry picked from commit a1b3d5b7c3eed146372cbda5941653809504bb10)
plugins/actions/_v1_config_template.py [deleted file]
plugins/actions/_v2_config_template.py [deleted file]
plugins/actions/config_template.py