From 2a69050e3782159b1b816902a48539a6a8667217 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 9 Jul 2018 19:04:19 +0100 Subject: [PATCH] Append to kolla user groups in bootstrap-servers This makes the bootstrap-servers command more idempotent, since without the append argument set the kolla user will be removed from the docker group before being added to it again in a later task. TrivialFix Change-Id: Iab0f6b5e18a103e9140631ee3ebbbb48c490bc24 --- ansible/roles/baremetal/tasks/post-install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/baremetal/tasks/post-install.yml b/ansible/roles/baremetal/tasks/post-install.yml index b7e516a2de..ef29cfcd9d 100644 --- a/ansible/roles/baremetal/tasks/post-install.yml +++ b/ansible/roles/baremetal/tasks/post-install.yml @@ -5,6 +5,7 @@ state: present group: "{{ kolla_group }}" groups: "sudo" + append: true become: True when: create_kolla_user | bool