Files
meshbook/examples/variable_example.yaml

18 lines
389 B
YAML
Raw Normal View History

---
name: Ping Multiple Points
company: Temp-Agents
variables:
- name: host1
value: "1.1.1.1"
- name: host2
2024-11-28 10:27:33 +01:00
value: "9.9.9.9"
- name: command1
value: "ping"
- name: cmd_arguments
value: "-c 4"
tasks:
2024-11-28 09:49:29 +01:00
- name: Ping host1
command: "{{ command1 }} {{ host1 }} {{ cmd_arguments }}"
2024-11-28 09:49:29 +01:00
- name: Ping host2
command: "{{ command1 }} {{ host2 }} {{ cmd_arguments }}"