Tutorial Teil 12 "Tagging"

This commit is contained in:
2025-11-10 08:38:53 +01:00
parent 56f18119b3
commit f222459101
7 changed files with 29 additions and 1 deletions

View File

@@ -1,2 +1 @@
partuuid: "011ad286-01"
mark: "---"

View File

@@ -0,0 +1,7 @@
- import_tasks: step1.yml
- import_tasks: step2.yml
- import_tasks: step3.yml
- import_tasks: step4.yml
tags: step4

View File

@@ -0,0 +1,4 @@
- name: Step 1 wird ausgeführt.
debug:
msg: "Ausgabe von Step 1"
tags: step1

View File

@@ -0,0 +1,5 @@
- name: Step 2 wird ausgeführt.
debug:
msg: "Ausgabe von Step 2"
tags:
- step2

View File

@@ -0,0 +1,4 @@
- name: Step 3 wird ausgeführt.
debug:
msg: "Ausgabe von Step 3"
tags: step3

View File

@@ -0,0 +1,3 @@
- name: Step 4 wird ausgeführt.
debug:
msg: "Ausgabe von Step 4"

6
tag_demo.yml Normal file
View File

@@ -0,0 +1,6 @@
- hosts: "{{ target }}"
gather_facts: false
remote_user: pi
roles:
- tag_demo