# 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"