install with state=present instead of latest
the build was successful Details

This commit is contained in:
Robert Kaussow 2019-01-09 20:56:03 +01:00
parent 89a8bc0fc3
commit 9e8d4da701
1 changed files with 8 additions and 8 deletions

View File

@ -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