Initial ansible onboard

This commit is contained in:
2024-09-24 15:19:51 +02:00
parent 7366659355
commit f445996797
492 changed files with 2214589 additions and 0 deletions
@@ -0,0 +1,31 @@
---
- name: Add configuration file for adduser and addgroup
become: true
ansible.builtin.template:
src: etc/adduser.conf.j2
dest: /etc/adduser.conf
backup: true
mode: "0644"
owner: root
group: root
tags:
- adduser
- users
- name: Add configuration file for useradd
become: true
ansible.builtin.template:
src: etc/default/useradd.j2
dest: /etc/default/useradd
backup: true
mode: "0644"
owner: root
group: root
tags:
- useradd
- users
- CCE-27355-7
- CCE-80954-1
- CCE-83627-0
- CIS-UBUNTU2004-5.5.1.4
- UBTU-20-010409