From 9e8d4da701e59d92938530248d0c9aa760332958 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 9 Jan 2019 20:56:03 +0100 Subject: [PATCH] install with state=present instead of latest --- tasks/install.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 08aba89..3f1f06c 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,12 +1,12 @@ --- - name: Install postfix mta block: - - name: Install required packages - package: - name: '{{ item }}' - state: latest - with_items: - - postfix - - cyrus-sasl-plain - - mailx + - name: Install required packages + package: + name: "{{ item }}" + state: present + with_items: + - postfix + - cyrus-sasl-plain + - mailx become: True