From: David Galloway Date: Mon, 11 Nov 2019 19:17:35 +0000 (-0500) Subject: users: delegate task to localhost X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F486%2Fhead;p=ceph-cm-ansible.git users: delegate task to localhost TIL `connection: local` != `delegate_to: localhost` See https://github.com/ansible/ansible/issues/16724#issuecomment-259989010 Signed-off-by: David Galloway --- diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml index 400bfa54..edf879c4 100644 --- a/roles/users/tasks/main.yml +++ b/roles/users/tasks/main.yml @@ -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