Merge "Fix sudoers in bootstrap-servers when user != group"
This commit is contained in:
commit
6c75aedac3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user