From 95611ad4a2943831f710c32867d8636f03021346 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Mon, 5 Apr 2021 16:08:01 +0530 Subject: Add an Ansible driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It calls ansible_runner.interface.run() by converting the testcase description data to kwargs. It only overrides quiet and artifact_dir to implement the Xtesting behavior. Co-Authored-By: Cédric Ollivier Change-Id: Ifd09810400babc0f2b81f2c33edf55a3ed88807b Signed-off-by: Ajay kumar Signed-off-by: Cédric Ollivier --- xtesting/samples/helloworld.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 xtesting/samples/helloworld.yml (limited to 'xtesting/samples') diff --git a/xtesting/samples/helloworld.yml b/xtesting/samples/helloworld.yml new file mode 100644 index 00000000..399f0c04 --- /dev/null +++ b/xtesting/samples/helloworld.yml @@ -0,0 +1,6 @@ +--- +- name: Hello World! + hosts: 127.0.0.1 + tasks: + - name: Hello World! + shell: echo "Hello World!" -- cgit 1.2.3-korg