Skip to content
Snippets Groups Projects
Unverified Commit a26a9ee1 authored by orange-llajeanne's avatar orange-llajeanne Committed by GitHub
Browse files

set apparmor_enabled in netchecker task (#8844)

parent c09fcd4f
No related branches found
No related tags found
No related merge requests found
---
- name: Kubernetes Apps | Check AppArmor status
command: which apparmor_parser
register: apparmor_status
when:
- inventory_hostname == groups['kube_control_plane'][0]
failed_when: false
- name: Kubernetes Apps | Set apparmor_enabled
set_fact:
apparmor_enabled: "{{ apparmor_status.rc == 0 }}"
when:
- inventory_hostname == groups['kube_control_plane'][0]
- name: Kubernetes Apps | Netchecker Templates list
set_fact:
netchecker_templates:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment