From d835b2cae8abc71958b69362162e6a70c3d7ef63 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 08:48:59 +0200 Subject: Adding upstream version 4.6.0. Signed-off-by: Daniel Baumann --- test/unittests/scripts/inc1/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/unittests/scripts/inc1/main.yml (limited to 'test/unittests/scripts/inc1') diff --git a/test/unittests/scripts/inc1/main.yml b/test/unittests/scripts/inc1/main.yml new file mode 100644 index 0000000..8c290d3 --- /dev/null +++ b/test/unittests/scripts/inc1/main.yml @@ -0,0 +1,22 @@ +version: 2.2 +shortdesc: Include test script 1 +longdesc: Test if includes work ok +parameters: + - name: foo + type: boolean + shortdesc: An optional feature + - name: bar + type: string + shortdesc: A string of characters + value: the name is the game + - name: is-required + type: int + required: true +actions: + - call: ls /tmp + when: foo + shortdesc: ls + - call: "echo '{{foo}}'" + shortdesc: foo + - call: "echo '{{bar}}'" + shortdesc: bar -- cgit v1.2.3