Skip to content

Commit

Permalink
(chore) [COTEF1901-104] Fixed small naming mistake in test 5.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris committed Jan 7, 2021
1 parent e659401 commit 9a265ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/section_5_Access_Authentication_and_Authorization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@
- level_1_workstation
- 5.1.8
# 5.1.9 Ensure at is restricted to authorized users
- name: 5.1.9 Ensure cron is restricted to authorized users
- name: 5.1.9 Ensure at is restricted to authorized users
block:
- name: 5.1.9 Ensure cron is restricted to authorized users | /etc/at.deny
- name: 5.1.9 Ensure at is restricted to authorized users | /etc/at.deny
file:
path: /etc/at.deny
state: absent
ignore_errors: yes
- stat:
path: /etc/at.allow
register: cfile
- name: 5.1.9 Ensure cron is restricted to authorized users | /etc/at.allow
- name: 5.1.9 Ensure at is restricted to authorized users | /etc/at.allow
file:
path: /etc/at.allow
state: "{{ 'file' if cfile.stat.exists else 'touch' }}"
Expand Down

0 comments on commit 9a265ec

Please sign in to comment.