Add test playbook
This commit is contained in:
parent
1ba32043ce
commit
ab079d3e26
15
test.yaml
Normal file
15
test.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
---
|
||||
- hosts: 127.0.0.1
|
||||
vars_files:
|
||||
- defaults/main.yaml
|
||||
tasks:
|
||||
- name: Test Jinja2 templates
|
||||
check_mode: true
|
||||
diff: true
|
||||
ansible.builtin.template:
|
||||
src: "{{ item }}"
|
||||
dest: "/tmp/{{ item }}"
|
||||
with_items:
|
||||
- templates/sshd_config.j2
|
||||
- templates/issue.net.j2
|
Loading…
x
Reference in New Issue
Block a user