Merge "Fix sudoers in bootstrap-servers when user != group"

This commit is contained in:
Zuul 2018-07-25 19:46:56 +00:00 committed by Gerrit Code Review
commit 6c75aedac3

View File

@ -27,8 +27,8 @@
lineinfile:
dest: /etc/sudoers.d/kolla-ansible-users
state: present
regexp: '^{{ kolla_group }}'
line: '{{ kolla_group }} ALL=(ALL) NOPASSWD: ALL'
regexp: '^{{ kolla_user }}'
line: '{{ kolla_user }} ALL=(ALL) NOPASSWD: ALL'
become: True
when: create_kolla_user_sudoers | bool