Merge "Fix sudoers in bootstrap-servers when user != group"
This commit is contained in:
commit
6c75aedac3
@ -27,8 +27,8 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/sudoers.d/kolla-ansible-users
|
dest: /etc/sudoers.d/kolla-ansible-users
|
||||||
state: present
|
state: present
|
||||||
regexp: '^{{ kolla_group }}'
|
regexp: '^{{ kolla_user }}'
|
||||||
line: '{{ kolla_group }} ALL=(ALL) NOPASSWD: ALL'
|
line: '{{ kolla_user }} ALL=(ALL) NOPASSWD: ALL'
|
||||||
become: True
|
become: True
|
||||||
when: create_kolla_user_sudoers | bool
|
when: create_kolla_user_sudoers | bool
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user