Skip to content

Commit

Permalink
cleanup files and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Utz authored and florianutz committed Apr 12, 2018
1 parent aa86ac8 commit a88f5a4
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 216 deletions.
46 changes: 0 additions & 46 deletions .travis_bak.yml

This file was deleted.

18 changes: 0 additions & 18 deletions files/fixsudo.sh

This file was deleted.

72 changes: 0 additions & 72 deletions tasks/section1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,6 @@
- rule_1.1.1.5
- hfsplus

#- name: "SCORED | 1.1.1.6 | PATCH | Ensure mounting of squashfs filesystems is disabled"
# lineinfile:
# dest: /etc/modprobe.d/CIS.conf
# regexp: "^(#)?install squashfs(\\s|$)"
# line: "install squashfs /bin/true"
# create: yes
# when:
# - ubuntu1604cis_rule_1_1_1_6
# tags:
# - level1
# - scored
# - patch
# - rule_1.1.1.6
# - squashfs

- name: "SCORED | 1.1.1.6 | PATCH | Ensure mounting of udf filesystems is disabled"
lineinfile:
dest: /etc/modprobe.d/CIS.conf
Expand All @@ -103,21 +88,6 @@
- rule_1.1.1.6
- udf

#- name: "SCORED | 1.1.1.8 | PATCH | Ensure mounting of FAT filesystems is disabled"
# lineinfile:
# dest: /etc/modprobe.d/CIS.conf
# regexp: "^(#)?install vfat(\\s|$)"
# line: "install vfat /bin/true"
# create: yes
# when:
# - ubuntu1604cis_rule_1_1_1_8
# tags:
# - level1
# - scored
# - patch
# - rule_1.1.1.8
# - vfat

- name: "SCORED | 1.1.2 | PATCH | Ensure separate partition exists for /tmp | enable and start/restart tmp.mount"
copy:
src: "{{ tmp_mount_file[ansible_os_family] }}"
Expand Down Expand Up @@ -382,33 +352,6 @@
- rule_1.2.3
- notimplemented

#- name: "NOTSCORED | 1.2.4 | PATCH | Ensure Red Hat Network or Subscription Manager connection is configured"
# command: /bin/true
# changed_when: no
# when:
# - ansible_distribution == "RedHat"
# - ubuntu1604cis_rule_1_2_4
# tags:
# - level1
# - notscored
# - patch
# - rule_1.2.4
# - notimplemented

#- name: "NOTSCORED | 1.2.5 | PATCH | Disable the rhnsd Daemon"
# service:
# name: rhnsd
# state: stopped
# enabled: no
# when:
# - ansible_distribution == "RedHat" and rhnsd_service_status.stdout == "loaded" and not ubuntu1604cis_rhnsd_required
# - ubuntu1604cis_rule_1_2_5
# tags:
# - level2
# - notscored
# - patch
# - rule_1.2.5

- name: "SCORED | 1.3.1 | PATCH | Ensure AIDE is installed"
apt:
name: aide
Expand Down Expand Up @@ -491,21 +434,6 @@
- rule_1.4.2
- notimplemented

#- name: "SCORED | 1.4.2 | PATCH | Ensure bootloader password is set"
# copy:
# dest: /boot/grub2/user.cfg
# content: "GRUB2_PASSWORD={{ grub_pass.passhash }}"
# notify: generate new grub config
# when:
# - ubuntu1604cis_set_boot_pass and grub_pass is defined and grub_pass.passhash is defined and grub_pass.passhash != ''
# - ubuntu1604cis_rule_1_4_2
# tags:
# - level1
# - scored
# - grub
# - patch
# - rule_1.4.2

- name: "NOTSCORED | 1.4.3 | PATCH | Ensure authentication required for single user mode"
command: /bin/true
changed_when: no
Expand Down
12 changes: 0 additions & 12 deletions tasks/section5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,18 +270,6 @@
- patch
- rule_5.2.10

#- name: "SCORED | 5.2.11 | PATCH | Ensure only approved ciphers are used"
# lineinfile:
# state: present
# dest: /etc/ssh/sshd_config
# regexp: '^Ciphers'
# line: 'Ciphers aes256-ctr,aes192-ctr,aes128-ctr'
# tags:
# - level1
# - level2
# - patch
# - rule_5.2.11

- name: "SCORED | 5.2.11 | PATCH | Ensure only approved MAC algorithms are used"
lineinfile:
state: present
Expand Down
11 changes: 0 additions & 11 deletions tasks/section6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,17 +311,6 @@
- patch
- rule_6.2.12

# - name: "SCORED | 6.2.13 | PATCH | Ensure users' .netrc Files are not group or world accessible"
# file:
# mode: 0600
# dest: "~{{ item }}/.netrc"
# with_items: "{{ users.stdout_lines }}"
# tags:
# - level1
# - level2
# - patch
# - rule_6.2.13

- name: "SCORED | 6.2.14 | PATCH | Ensure no users have .rhosts files"
file:
state: absent
Expand Down
51 changes: 0 additions & 51 deletions tests/Dockerfile.ubuntu-16.04

This file was deleted.

2 changes: 0 additions & 2 deletions tests/ansible.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions tests/test.yml

This file was deleted.

0 comments on commit a88f5a4

Please sign in to comment.