mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
18 lines
684 B
YAML
18 lines
684 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- name: Include the task 'get_profile_stat.yml'
|
|
include_tasks: get_profile_stat.yml
|
|
- name: "Assert that the profile is present - '{{ profile }}'"
|
|
assert:
|
|
that: lsr_net_profile_exists
|
|
msg: "profile {{ profile }} does not exist"
|
|
|
|
- name: "Assert that the ansible managed comment is present in '{{ profile }}'"
|
|
assert:
|
|
that: lsr_net_profile_ansible_managed
|
|
msg: "profile {{ profile }} does not have the ansible managed comment"
|
|
|
|
- name: Assert that the fingerprint comment is present in {{ profile }}
|
|
assert:
|
|
that: lsr_net_profile_fingerprint
|
|
msg: "profile {{ profile }} does not have the fingerprint comment"
|