]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix mis-use of config_template in docker tasks 683/head
authorChris St. Pierre <chris.a.st.pierre@gmail.com>
Tue, 5 Apr 2016 17:09:09 +0000 (12:09 -0500)
committerChris St. Pierre <chris.a.st.pierre@gmail.com>
Tue, 5 Apr 2016 17:09:09 +0000 (12:09 -0500)
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

index ff59a9a3c73cb6e5508578af0a7c4d5487864e6a..29cbe12d8ed0515647bd2ff93c062c4ccff2e092 100644 (file)
@@ -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"