]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
users: delegate task to localhost 486/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 11 Nov 2019 19:17:35 +0000 (14:17 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 11 Nov 2019 19:17:35 +0000 (14:17 -0500)
TIL `connection: local` != `delegate_to: localhost`

See https://github.com/ansible/ansible/issues/16724#issuecomment-259989010

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/users/tasks/main.yml

index 400bfa54f438e78235dc72ae2bf77bd3a5524a76..edf879c41ef7243f9dfd673e85dea16e263dfb1b 100644 (file)
@@ -4,6 +4,7 @@
   register: keys_repo_head
   become: false
   when: keys_repo is defined
+  delegate_to: localhost
   connection: local
   run_once: true
   retries: 5