initial commit
This commit is contained in:
28
tasks/main.yml
Normal file
28
tasks/main.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
- name: groot | copy bash-completion
|
||||
copy:
|
||||
src: bash_completion
|
||||
dest: /etc/bash_completion.d/groot
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
tags: ['groot']
|
||||
|
||||
- name: groot | copy script
|
||||
copy:
|
||||
src: groot
|
||||
dest: /usr/local/bin/groot
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
tags: ['groot']
|
||||
|
||||
- name: groot | create sudo priv
|
||||
template:
|
||||
src: sudoers.j2
|
||||
dest: /etc/sudoers.d/groot
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0440
|
||||
validate: "/usr/sbin/visudo -cf %s"
|
||||
with_dict: "{{ groot }}"
|
Reference in New Issue
Block a user