Skip to content

Commit

Permalink
fix(#0): from wrong added task
Browse files Browse the repository at this point in the history
- update gitignore
  • Loading branch information
MVladislav committed Apr 12, 2024
1 parent e215c01 commit 432513a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 18 deletions.
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
# Ignore .hidden files
.*
# Ignore everything
*

!.github/
!.github/**

!.gitattributes
!.gitignore
!.gitempty

!CONTRIBUTING.md
!LICENCE
!SECURITY.md

!README.md

!.pre-commit-config.yaml
!.prettierrc.yml
!.yamllint

# ADD more
!.ansible-lint
!requirements.txt
!requirements.yml

!defaults/
!defaults/**
!files/
!files/**
!handlers/
!handlers/**
!meta/
!meta/**
!molecule/
!molecule/**
!tasks/
!tasks/**
!templates/
!templates/**
!tests/
tests/*
!tests/inventory
!vars/
!vars/**

### Ansible ###
*.retry

tasks/pre_extra.yml
templates/sshd_config.j2
18 changes: 0 additions & 18 deletions tasks/section2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@

# ------------------------------------------------------------------------------

- name: "SECTION2 | 2.1.1 | Ensure autofs services are not in use"
ansible.builtin.systemd:
name: autofs.service
daemon_reload: true
enabled: false
masked: true
state: stopped
when:
- service_status_autofs.stdout == "loaded"
- not cis_ubuntu2204_allow_autofs
- cis_ubuntu2204_rule_2_1_1
tags:
- rule_2_1_1
- server_l1
- workstation_l2

# ------------------------------------------------------------------------------

- name: "SECTION2 | 2.1.1.1 | Ensure a single time synchronization daemon is in use"
when:
- cis_ubuntu2204_rule_2_1_1_1
Expand Down

0 comments on commit 432513a

Please sign in to comment.