Skip to content

Commit

Permalink
Typo fixes and yamllint lenth added to .ansible-lint
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Witty <[email protected]>
  • Loading branch information
frederickw082922 committed Sep 26, 2023
1 parent 1c28564 commit fe87570
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ skip_list:
- 'name[casing]'
- 'name[template]'
- 'key-order[task]'
- 'yaml[line-length]'
- '204'
- '305'
- '303'
Expand Down
2 changes: 1 addition & 1 deletion tasks/LE_audit_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
ansible.builtin.copy:
src: "{{ audit_bin_copy_location }}"
dest: "{{ audit_bin }}"
mode: '0555'
owner: root
group: root
mode: '0555'
when:
- get_audit_binary_method == 'copy'
16 changes: 8 additions & 8 deletions tasks/section_6/cis_6.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
path: /etc/passwd
owner: root
group: root
mode: 0644
mode: '0644'
when:
- ubtu22cis_rule_6_1_1
tags:
Expand All @@ -20,7 +20,7 @@
path: /etc/passwd-
owner: root
group: root
mode: 0644
mode: '0644'
when:
- ubtu22cis_rule_6_1_2
tags:
Expand All @@ -35,7 +35,7 @@
path: /etc/group-
owner: root
group: root
mode: 0644
mode: '0644'
when:
- ubtu22cis_rule_6_1_3
tags:
Expand All @@ -50,7 +50,7 @@
path: /etc/group-
owner: root
group: root
mode: 0644
mode: '0644'
when:
- ubtu22cis_rule_6_1_4
tags:
Expand All @@ -65,7 +65,7 @@
path: /etc/shadow
owner: root
group: root
mode: 0000
mode: '0000'
when:
- ubtu22cis_rule_6_1_5
tags:
Expand All @@ -80,7 +80,7 @@
path: /etc/shadow-
owner: root
group: root
mode: 0000
mode: '0000'
when:
- ubtu22cis_rule_6_1_6
tags:
Expand All @@ -95,7 +95,7 @@
path: /etc/gshadow
owner: root
group: root
mode: 0000
mode: '0000'
when:
- ubtu22cis_rule_6_1_7
tags:
Expand All @@ -110,7 +110,7 @@
path: /etc/gshadow-
owner: root
group: root
mode: 0000
mode: '0000'
when:
- ubtu22cis_rule_6_1_8
tags:
Expand Down
2 changes: 1 addition & 1 deletion tasks/warning_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
# warn_control_list is the main variable to be used and is a list made up of the warn_control_id’s
#
# warn_count the main variable for the number of warnings and each time a warn_control_id is added
# warn_count is the main variable for the number of warnings and each time a warn_control_id is added
# the count increases by a value of 1
- name: "{{ warn_control_id }} | AUDIT | Set fact for manual task warning."
ansible.builtin.set_fact:
Expand Down

0 comments on commit fe87570

Please sign in to comment.