diff --git a/README.md b/README.md index dc66465..41d6bb1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## postfix -[![Build Status](https://travis-ci.org/Oefenweb/ansible-postfix.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-postfix) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-postfix-blue.svg)](https://galaxy.ansible.com/list#/roles/1400) +[![Build Status](https://travis-ci.org/Oefenweb/ansible-postfix.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-postfix) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-postfix-blue.svg)](https://galaxy.ansible.com/tersmitten/postfix) Set up a postfix server in Debian-like systems. diff --git a/tasks/main.yml b/tasks/main.yml index 325fdd3..f1b884c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,7 +15,7 @@ - name: install package apt: name: "{{ item }}" - state: latest + state: "{{ apt_install_state | default('latest') }}" update_cache: true cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}" with_items: "{{ postfix_install }}"