You've already forked ansible-role-common
Lint improvements
This commit is contained in:
@@ -9,7 +9,7 @@ dns_servers:
|
||||
- 1.0.0.1
|
||||
- 1.1.1.1
|
||||
|
||||
ADMIN_GROUP: admins
|
||||
admin_group: admins
|
||||
|
||||
|
||||
common_grub_timeout: 5
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
name: ntpd
|
||||
state: restarted
|
||||
|
||||
- name: reboot windows
|
||||
- name: Reboot Windows
|
||||
win_reboot:
|
||||
|
||||
- name: restart NetworkManager
|
||||
- name: Restart NetworkManager
|
||||
service:
|
||||
name: NetworkManager
|
||||
state: restarted
|
||||
|
||||
@@ -38,7 +38,9 @@
|
||||
# tags: security
|
||||
|
||||
- name: Create admin group
|
||||
group: name={{ ADMIN_GROUP }} state=present
|
||||
group:
|
||||
name: "{{ admin_group }}"
|
||||
state: present
|
||||
|
||||
- name: Configure yum limit
|
||||
lineinfile:
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
admin_password: "{{ vault_ad_password }}"
|
||||
domain_name: "{{ authconfig_domain }}"
|
||||
when: ad_domain_joined
|
||||
notify: reboot windows
|
||||
notify: Reboot Windows
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Ensure Important dirs exist
|
||||
@@ -53,7 +53,7 @@
|
||||
- name: Apply Windows Updates
|
||||
win_updates:
|
||||
when: apply_windows_updates
|
||||
notify: reboot windows
|
||||
notify: Reboot Windows
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Ensure default applications installed
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
- name: Postfix Configuration
|
||||
when: postfix_configure
|
||||
block:
|
||||
- name: postfix | Apply postfix configuration
|
||||
- name: Postfix | Apply postfix configuration
|
||||
lineinfile:
|
||||
dest: "{{ configurations.dest }}"
|
||||
regexp: "{{ configurations.regexp }}"
|
||||
@@ -34,7 +34,7 @@
|
||||
loop_control:
|
||||
loop_var: configurations
|
||||
|
||||
- name: postfix | Ensure Postfix is Started/Enabled
|
||||
- name: Postfix | Ensure Postfix is Started/Enabled
|
||||
service:
|
||||
name: postfix
|
||||
state: started
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
backup: yes
|
||||
when: (ansible_os_family == "RedHat" and ansible_distribution_major_version == "7")
|
||||
notify:
|
||||
- restart NetworkManager
|
||||
- Restart NetworkManager
|
||||
changed_when: false
|
||||
|
||||
- name: Ensure correct permissions (hosts/resolv.conf)
|
||||
|
||||
Reference in New Issue
Block a user