Skip to content

Commit 452b89d

Browse files
committed
satisfy checkov
1 parent a276ae7 commit 452b89d

13 files changed

+311
-301
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM quay.io/almalinuxorg/8-init
1+
#checkov:skip=CKV_DOCKER_2: no need for health check
2+
#checkov:skip=CKV_DOCKER_3: no need for special user
3+
FROM quay.io/almalinuxorg/8-init:latest
24
ENV container docker
35

46
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in ; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done);

tasks/backups.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
#checkov:skip=CKV2_ANSIBLE_3: Block is only used for the when condition and the tags
23
- name: Create backup directories
34
ansible.builtin.file:
45
path: "{{ item }}"

tasks/convert_user_to_ldif.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
#checkov:skip=CKV2_ANSIBLE_3: Block is used for the when condition only
23
- name: Select passwd line
34
ansible.builtin.command: 'grep "^{{ user_data_item.name }}:" /var/tmp/passwd.mig'
45
register: passwd_mig_content

tasks/httpd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
#checkov:skip=CKV2_ANSIBLE_3: Block is used for the when condition only
23
- name: Open firewall
34
tags:
45
- dyndns

tasks/imapsync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
#checkov:skip=CKV2_ANSIBLE_3: Block is only used for the when condition and the tags
23
- name: Sync old IMAP account to the current mailbox
34
no_log: yes
45
when: current_user.old_imap_mail is defined

0 commit comments

Comments
 (0)