Commit f348fcf0 by ansible

Add " Allow 'wildfly' group to have passwordless sudo"

1 parent 1dd7a6d1
Showing with 8 additions and 0 deletions
...@@ -35,3 +35,11 @@ ...@@ -35,3 +35,11 @@
- { uid: 997, name: mongodb, crehome: no, system: yes, shell: /bin/bash, path: /opt/stack/mongodb } - { uid: 997, name: mongodb, crehome: no, system: yes, shell: /bin/bash, path: /opt/stack/mongodb }
- { uid: 995, name: mosquitto, crehome: no, system: yes, shell: /bin/bash, path: /opt/stack/mqtt } - { uid: 995, name: mosquitto, crehome: no, system: yes, shell: /bin/bash, path: /opt/stack/mqtt }
- name: Allow 'wildfly' group to have passwordless sudo
lineinfile:
dest: /etc/sudoers
state: present
regexp: '^%wildfly'
line: '%wildfly ALL=(ALL) NOPASSWD: ALL'
validate: 'visudo -cf %s'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!