diff --git a/playbooks/abc.yml b/playbooks/abc.yml new file mode 100644 index 0000000..1555677 --- /dev/null +++ b/playbooks/abc.yml @@ -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 +... diff --git a/playbooks/jens.yml b/playbooks/jens.yml new file mode 100644 index 0000000..95165ef --- /dev/null +++ b/playbooks/jens.yml @@ -0,0 +1,8 @@ +--- +- name: Sample playbook jens.yml + hosts: all + tasks: + - name: debug + debug: + msg: "Hello World" +... diff --git a/playbooks/langer.yml b/playbooks/langer.yml new file mode 100644 index 0000000..95165ef --- /dev/null +++ b/playbooks/langer.yml @@ -0,0 +1,8 @@ +--- +- name: Sample playbook jens.yml + hosts: all + tasks: + - name: debug + debug: + msg: "Hello World" +... diff --git a/playbooks/test_file.yml b/playbooks/test_file.yml new file mode 100644 index 0000000..3079714 --- /dev/null +++ b/playbooks/test_file.yml @@ -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 +... diff --git a/playbooks/xyz.yml b/playbooks/xyz.yml new file mode 100644 index 0000000..6f05f65 --- /dev/null +++ b/playbooks/xyz.yml @@ -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 +...