From 1a73d55bae86fc746b8e64dafd4ca60007401522 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 5 Apr 2016 12:09:09 -0500 Subject: [PATCH] Fix mis-use of config_template in docker tasks As written, generating the config file for ceph-mon in Docker yielded: ERROR: config_template is not a legal parameter in an Ansible task or handler This fixes that error condition. --- roles/ceph-mon/tasks/docker/create_configs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/docker/create_configs.yml b/roles/ceph-mon/tasks/docker/create_configs.yml index ff59a9a3c..29cbe12d8 100644 --- a/roles/ceph-mon/tasks/docker/create_configs.yml +++ b/roles/ceph-mon/tasks/docker/create_configs.yml @@ -8,7 +8,8 @@ mode: 0644 - name: generate ceph configuration file - config_template: + action: config_template + args: src: "{{ playbook_dir }}/roles/ceph-common/templates/ceph.conf.j2" dest: /etc/ceph/ceph.conf owner: "root"