From cc9e2c9eec1a07cfeadd181f6f984454daf08581 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 11 Jun 2019 18:35:48 +0200
Subject: [PATCH] ansible-playbooks/general#85 Linting

---
 defaults/main.yml |  2 ++
 meta/main.yml     | 18 +++++++++---------
 tasks/main.yml    |  5 +++--
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/defaults/main.yml b/defaults/main.yml
index dd16570..b158d53 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1 +1,3 @@
+---
+
 users: []
diff --git a/meta/main.yml b/meta/main.yml
index f89da5f..16a75be 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -1,16 +1,16 @@
 ---
 galaxy_info:
-  author: "jurgenhaas"
-  company: "PARAGON Executive Services GmbH"
+  author: jurgenhaas
+  company: PARAGON Executive Services GmbH
   min_ansible_version: 1.4
   platforms:
-   - name: Ubuntu
-     versions:
-      - precise
-      - quantal
-      - raring
-      - saucy
+    - name: Ubuntu
+      versions:
+        - precise
+        - quantal
+        - raring
+        - saucy
   categories:
-   - development
+    - development
 
 dependencies: []
diff --git a/tasks/main.yml b/tasks/main.yml
index cc11882..bca0b46 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -5,8 +5,9 @@
 ---
 # file: main.yml
 
-- name: Check requirements: is the user hash defined
-  local_action: shell echo "There are no users defined"
+- name: Check requirement if the user hash is defined
+  shell: echo "There are no users defined"
+  delegate_to: localhost
   when: not users
   changed_when: no
   failed_when: not users
-- 
GitLab