network/tests/tasks/assert_profile_present.yml
Wen Liang cd72556282 ansible-lint: Fix name[casing] warnings
Start all task names an uppercase letter.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2023-03-27 16:25:03 +02:00

12 lines
444 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- 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"