added playbooks from jens/Test1 and jens/Test2 repo

This commit is contained in:
Jens Heinitz 2021-06-10 15:54:09 +02:00
parent 365ba0d343
commit 071d2a628b
5 changed files with 56 additions and 0 deletions

13
playbooks/abc.yml Normal file
View File

@ -0,0 +1,13 @@
---
- name: Moin, Moin Leude!
hosts: all
tasks:
- name: copy file
copy:
src: test.txt
dest: /tmp/test_file_2_{{ ansible_hostname }}.txt
mode: "0644"
owner: pi
group: users
backup: true
...

8
playbooks/jens.yml Normal file
View File

@ -0,0 +1,8 @@
---
- name: Sample playbook jens.yml
hosts: all
tasks:
- name: debug
debug:
msg: "Hello World"
...

8
playbooks/langer.yml Normal file
View File

@ -0,0 +1,8 @@
---
- name: Sample playbook jens.yml
hosts: all
tasks:
- name: debug
debug:
msg: "Hello World"
...

15
playbooks/test_file.yml Normal file
View File

@ -0,0 +1,15 @@
---
- name: Moin Hello World - from git
hosts: all
tasks:
- name: Moin Hello Message
debug:
msg: "Moin! Hello World!"
- name: Copy File
copy:
src: test.txt
dest: /tmp/test_{{ ansible_hostname }}.txt
mode: "0644"
owner: pi
group: users
...

12
playbooks/xyz.yml Normal file
View File

@ -0,0 +1,12 @@
---
- name: Moin, Moin Leude!
hosts: all
tasks:
- name: copy file
copy:
src: test3.txt
dest: /tmp/test_file_3_{{ ansible_hostname }}.txt
mode: "0644"
owner: pi
group: users
...