You've already forked ansible-role-common
prefixed admin_group
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user