From 9cee100d806b9e5235333282e3abab5963ec03e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 5 Jun 2019 16:42:42 +0200 Subject: [PATCH] inventory vars and implicit localhost --- vars-and-implicit-localhost/hosts | 2 ++ vars-and-implicit-localhost/test.yaml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 vars-and-implicit-localhost/hosts create mode 100644 vars-and-implicit-localhost/test.yaml diff --git a/vars-and-implicit-localhost/hosts b/vars-and-implicit-localhost/hosts new file mode 100644 index 0000000..80e6dfb --- /dev/null +++ b/vars-and-implicit-localhost/hosts @@ -0,0 +1,2 @@ +[all:vars] +test=present diff --git a/vars-and-implicit-localhost/test.yaml b/vars-and-implicit-localhost/test.yaml new file mode 100644 index 0000000..f8c9a6f --- /dev/null +++ b/vars-and-implicit-localhost/test.yaml @@ -0,0 +1,6 @@ +- name: + hosts: localhost + tasks: + - assert: + that: + - test == 'present'