From: David Galloway Date: Fri, 16 Nov 2018 21:45:17 +0000 (-0500) Subject: Run ansible-managed playbook as cm user X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F422%2Fhead;p=ceph-cm-ansible.git Run ansible-managed playbook as cm user The ubuntu (teuthology_user) doesn't get created until the testnode playbook gets run Signed-off-by: David Galloway --- diff --git a/ansible_managed.yml b/ansible_managed.yml index f42a8f24..102cb73f 100644 --- a/ansible_managed.yml +++ b/ansible_managed.yml @@ -3,10 +3,10 @@ # sudoer settings needed for ansible to manage a node. - hosts: all strategy: free - # assuming the nodes we run this on will most likely - # have an ubuntu user already created. +# this used to be set to ubuntu but the {{ cm_user }} is the only +# user that gets created during kickstart vars: - ansible_ssh_user: ubuntu + ansible_ssh_user: "{{ cm_user }}" roles: - ansible-managed become: true