Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) [COTEF1901-104] Fixed small naming mistake in test 5.1.9 #17

Merged
merged 1 commit into from
Jan 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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