]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
puddle: accept hostkey when cloning distill's rcm-metadata.git 115/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 18 Aug 2015 19:40:21 +0000 (13:40 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 18 Aug 2015 19:40:21 +0000 (13:40 -0600)
I recently switched rcm-metadata.git to use the git:// protocol instead
of http://. When operating on a repository that uses a
protocol other than HTTP, Ansible's git module unconditionally requires
accept_hostkey to be set.

(See https://github.com/ansible/ansible-modules-core/issues/1931 for the
upstream report.)

roles/puddle/tasks/distill/configure.yml

index 649b252ff0271f045487b52b1bab6dabbc05cac0..7ca80e3a34db0aa399ca81792a80d20c07407c50 100644 (file)
@@ -14,6 +14,7 @@
     repo: "{{ distill.rcm_metadata_repo }}"
     update: no
     version: ceph
+    accept_hostkey: yes
 
 # distill requires this symlink in order to run.
 - name: symlink /mnt/brew