Files
toallab-automation/roles/linux-system-roles.network/tests/tasks/assert-profile_present.yml
2020-08-17 12:06:41 -04:00

8 lines
231 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- include: get-profile_stat.yml
- name: "assert that profile '{{ profile }}' is present"
assert:
that: profile_stat.stat.exists
msg: "profile {{ profile_path }} does not exist"