Skip to content
Snippets Groups Projects
Unverified Commit 3effb008 authored by kakkotetsu's avatar kakkotetsu Committed by GitHub
Browse files

improve validation conditions for MetalLB BGP Peers (#8568)

parent a088f492
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,10 @@
- name: Kubernetes Apps | Check BGP peers for MetalLB
fail:
msg: "metallb_peers is mandatory when metallb_protocol is bgp"
msg: "metallb_peers is mandatory when metallb_protocol is bgp and metallb_speaker_enabled"
when:
- metallb_protocol == 'bgp' and metallb_peers is not defined
- metallb_protocol == 'bgp' and metallb_speaker_enabled
- metallb_peers is not defined or not metallb_peers
- name: Kubernetes Apps | Check AppArmor status
command: which apparmor_parser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment