From 5dad42f947493ea94fc7f233f518bfe81cb93375 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 24 Sep 2018 17:49:40 +0200 Subject: [PATCH] https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#always-mention-the-state --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 675f3ec..1f54cef 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,12 +13,14 @@ - name: install software package: name: "{{ item }}" + state: present with_items: - "{{ postfix_packages }}" - name: create group group: name: "{{ item }}" + state: present with_items: - "{{ postfix_group }}"