exclude opensuse

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2022-07-10 21:08:50 +02:00
1 parent cd45a58683
commit 1825eba27a
2 files changed
+5 -22

No files matched your search

+4 -21
View File
@@ -9,6 +9,10 @@
collections:
- devsec.hardening
tasks:
- name: override for arch
set_fact:
os_mnt_boot_enabled: false
when: ansible_facts.os_family == 'Archlinux'
- include_role:
name: os_hardening
vars:
@@ -17,24 +21,3 @@
os_yum_repo_file_whitelist: ['foo.repo']
os_mnt_boot_enabled: true
os_mnt_boot_src: "/dev/vda1"
# - name: wrapper playbook for kitchen testing "ansible-os-hardening"
# hosts: all
# become: true
# collections:
# - devsec.hardening
# vars:
# os_auditd_enabled: false
# tasks:
# - name: set ansible_python_interpreter to "/usr/bin/python3" on fedora
# set_fact:
# ansible_python_interpreter: "/usr/bin/python3"
# when: ansible_facts.distribution == 'Fedora'
#
# - name: Run the equivalent of "apt-get update" as a separate step
# apt:
# update_cache: yes
# when: ansible_facts.os_family == 'Debian'
#
# - include_role:
# name: os_hardening