mirror of
https://github.com/netbirdio/ansible-netbird.git
synced 2026-05-22 18:43:36 -07:00
18 lines
593 B
YAML
18 lines
593 B
YAML
---
|
|
# tasks/posture_checks.yml - Posture check management tasks
|
|
|
|
- name: Manage NetBird posture checks
|
|
community.ansible_netbird.netbird_posture_check:
|
|
api_url: "{{ netbird_api_url }}"
|
|
api_token: "{{ netbird_api_token }}"
|
|
validate_certs: "{{ netbird_validate_certs }}"
|
|
name: "{{ item.name }}"
|
|
description: "{{ item.description | default('') }}"
|
|
checks: "{{ item.checks | default({}) }}"
|
|
state: "{{ item.state | default('present') }}"
|
|
loop: "{{ netbird_posture_checks }}"
|
|
loop_control:
|
|
label: "{{ item.name }}"
|
|
when: netbird_posture_checks | length > 0
|
|
|