Add testrole
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Torjus Håkestad 2022-01-11 10:52:38 +01:00
parent e0ad229e5a
commit dbd81b1cf6
3 changed files with 11 additions and 1 deletions

View File

@ -3,3 +3,8 @@
tasks: tasks:
- name: Ping hosts - name: Ping hosts
ansible.builtin.ping: ansible.builtin.ping:
- hosts: all
roles:
- testrole

View File

@ -0,0 +1,4 @@
- name: create test file
ansible.builtin.template:
src: testfile.j2
dest: /tmp/testfile.txt

View File

@ -0,0 +1 @@
this is testfile.txt on {{ inventory_hostname }}