Files
ansible-role-hpa/tests/test.yml

35 lines
766 B
YAML

#SPDX-License-Identifier: MIT-0
---
- hosts: all
remote_user: michael
roles:
- role: '../../ansible-role-hpa'
tasks:
- name: Start.
ansible.builtin.debug:
msg: "Starting task..."
- name: Ensure files exist in root working directory.
ansible.builtin.file:
path: "{{ work_dir }}/{{ item }}"
state: file
with_items:
- "Report.md"
- "Definitions.md"
- "footer.tex"
- "head.tex"
- "vars.yml"
- "vault.yml"
- name: Ensure files exist in build directory.
ansible.builtin.file:
path: "{{ build_dir }}/{{ item }}"
state: file
with_items:
- "Report.md"
- "Definitions.md"
- "footer.tex"
- "head.tex"