You've already forked ansible-role-common
Linting
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
# tags: security
|
# tags: security
|
||||||
|
|
||||||
- name: Create admin group
|
- name: Create admin group
|
||||||
group: name={{ADMIN_GROUP}} state=present
|
group: name={{ ADMIN_GROUP }} state=present
|
||||||
|
|
||||||
- name: Configure yum limit
|
- name: Configure yum limit
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
block:
|
block:
|
||||||
- name: postfix | Apply postfix configuration
|
- name: postfix | Apply postfix configuration
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{item.dest}}"
|
dest: "{{ item.dest }}"
|
||||||
regexp: "{{item.regexp}}"
|
regexp: "{{ item.regexp }}"
|
||||||
line: "{{item.line}}"
|
line: "{{ item.line }}"
|
||||||
insertafter: EOF
|
insertafter: EOF
|
||||||
notify: Restart Postfix
|
notify: Restart Postfix
|
||||||
when: "'SMTP0' not in inventory_hostname"
|
when: "'SMTP0' not in inventory_hostname"
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
- name: Ensure correct permissions (hosts/resolv.conf)
|
- name: Ensure correct permissions (hosts/resolv.conf)
|
||||||
file:
|
file:
|
||||||
path: "{{item}}"
|
path: "{{ item }}"
|
||||||
state: touch
|
state: touch
|
||||||
mode: u+rw,g+r,a+r
|
mode: u+rw,g+r,a+r
|
||||||
with_items:
|
with_items:
|
||||||
|
|||||||
Reference in New Issue
Block a user