added playbooks from jens/Test1 and jens/Test2 repo
This commit is contained in:
parent
365ba0d343
commit
071d2a628b
13
playbooks/abc.yml
Normal file
13
playbooks/abc.yml
Normal 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
8
playbooks/jens.yml
Normal 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
8
playbooks/langer.yml
Normal 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
15
playbooks/test_file.yml
Normal 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
12
playbooks/xyz.yml
Normal 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
|
||||||
|
...
|
Loading…
Reference in New Issue
Block a user