prefixed admin_group

This commit is contained in:
2021-10-01 10:11:51 +13:00
parent b0655ceae4
commit ac94545d69
2 changed files with 3 additions and 16 deletions

View File

@@ -4,13 +4,13 @@ common_domain: exampledomain.com
ad_domain_joined: no
common_win_timezone: New Zealand Standard Time
common_tz: Pacific/Auckland
vendors_hosts: []
common_vendors_hosts: []
common_dns_servers:
- 1.0.0.1
- 1.1.1.1
ADMIN_GROUP: admins
common_admin_group: admins
common_grub_timeout: 5

View File

@@ -24,21 +24,8 @@
register: se
tags: security
# - name: SELinux Management
# block:
# - name: selinux | Ensure SELinux status
# selinux:
# state: disabled
# register: sestate
# - name: selinux | Message Output
# debug:
# msg: "SELinux {{ sestate.msg }}"
# when: sestate.changed
# when: se.stat.exists
# tags: security
- name: Create admin group
group: name={{ADMIN_GROUP}} state=present
group: name={{ common_admin_group }} state=present
- name: Configure yum limit
lineinfile: