added cron and user taskbooks

This commit is contained in:
Jay LaCroix
2020-09-01 16:23:18 -04:00
parent 38479255ad
commit 0ec7ad238b
4 changed files with 21 additions and 0 deletions

12
tasks/users.yml Normal file
View File

@@ -0,0 +1,12 @@
- name: create ansible user
user:
name: ansible
system: yes
- name: copy sudoers_ansible
copy:
src: files/sudoers_ansible
dest: /etc/sudoers.d/ansible
owner: root
group: root
mode: 0440