-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from ansible-lockdown/devel
updated to import_tasks module
- Loading branch information
Showing
29 changed files
with
205 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,68 @@ | ||
--- | ||
- name: "SECTION | 1.1.1 | Disable Unused Filesystems" | ||
ansible.builtin.import_tasks: cis_1.1.1.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.1.x.yml | ||
|
||
- name: "SECTION | 1.1.2 | Configure /tmp" | ||
ansible.builtin.import_tasks: cis_1.1.2.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.2.x.yml | ||
|
||
- name: "SECTION | 1.1.3 | Configure /var" | ||
ansible.builtin.import_tasks: cis_1.1.3.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.3.x.yml | ||
|
||
- name: "SECTION | 1.1.4 | Configure /var/tmp" | ||
ansible.builtin.import_tasks: cis_1.1.4.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.4.x.yml | ||
|
||
- name: "SECTION | 1.1.5 | Configure /var/log" | ||
ansible.builtin.import_tasks: cis_1.1.5.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.5.x.yml | ||
|
||
- name: "SECTION | 1.1.6 | Configure /var/log/audit" | ||
ansible.builtin.import_tasks: cis_1.1.6.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.6.x.yml | ||
|
||
- name: "SECTION | 1.1.7 | Configure /home" | ||
ansible.builtin.import_tasks: cis_1.1.7.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.7.x.yml | ||
|
||
- name: "SECTION | 1.1.8 | Configure /dev/shm" | ||
ansible.builtin.import_tasks: cis_1.1.8.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.8.x.yml | ||
|
||
- name: "SECTION | 1.1.9 | Configure autofs" | ||
ansible.builtin.import_tasks: cis_1.1.9.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.9.yml | ||
|
||
- name: "SECTION | 1.1.10 | Configure usb-storage" | ||
ansible.builtin.import_tasks: cis_1.1.10.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.1.10.yml | ||
|
||
- name: "SECTION | 1.2 | Filesystem Integrity Checking" | ||
ansible.builtin.import_tasks: cis_1.2.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.2.x.yml | ||
|
||
- name: "SECTION | 1.3. | gpg and repository configuration" | ||
ansible.builtin.import_tasks: cis_1.3.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.3.x.yml | ||
|
||
- name: "SECTION | 1.4 | Secure Boot Settings" | ||
ansible.builtin.import_tasks: cis_1.4.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.4.x.yml | ||
|
||
- name: "SECTION | 1.5 | Additional Process Hardening" | ||
ansible.builtin.import_tasks: cis_1.5.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.5.x.yml | ||
|
||
- name: "SECTION | 1.6 | Mandatory Access Control" | ||
ansible.builtin.import_tasks: cis_1.6.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.6.x.yml | ||
|
||
- name: "SECTION | 1.7 | Command Line Warning Banners" | ||
ansible.builtin.import_tasks: cis_1.7.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.7.x.yml | ||
|
||
- name: "SECTION | 1.8 | GNOME Display Manager" | ||
ansible.builtin.import_tasks: cis_1.8.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_1.8.x.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
--- | ||
- name: "SECTION | 2.1.1 | Configure Time Synchronization" | ||
ansible.builtin.import_tasks: cis_2.1.1.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.1.1.x.yml | ||
|
||
- name: "SECTION | 2.1.2 | Configure chrony" | ||
ansible.builtin.import_tasks: cis_2.1.2.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.1.2.x.yml | ||
when: ubtu20cis_time_sync_tool == "chrony" | ||
|
||
- name: "SECTION | 2.1.3 | Configure systemd-timesyncd" | ||
ansible.builtin.import_tasks: cis_2.1.3.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.1.3.x.yml | ||
when: ubtu20cis_time_sync_tool == "systemd-timesyncd" | ||
|
||
- name: "SECTION | 2.1.4 | Configure NTP" | ||
ansible.builtin.import_tasks: cis_2.1.4.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.1.4.x.yml | ||
when: ubtu20cis_time_sync_tool == "ntp" | ||
|
||
- name: "SECTION | 2.2 | Special Purpose Services" | ||
ansible.builtin.import_tasks: cis_2.2.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.2.x.yml | ||
|
||
- name: "SECTION | 2.3 | Service Clients" | ||
ansible.builtin.import_tasks: cis_2.3.x.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.3.x.yml | ||
|
||
- name: "SECTION | 2.4 | Ensure nonessential services are removed or masked" | ||
ansible.builtin.import_tasks: cis_2.4.yml | ||
ansible.builtin.import_tasks: | ||
file: cis_2.4.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.