From 2cd6b0db0a4a2ec8f2ce2d1ec557c7983277b5c5 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Thu, 22 Dec 2016 20:32:02 +0100 Subject: [PATCH] Concistency changes --- README.md | 2 +- tasks/main.yml | 5 +++-- vars/main.yml | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f75bfb1..236cb29 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## apt-file -[![Build Status](https://travis-ci.org/Oefenweb/ansible-apt-file.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-apt-file) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-apt--file-blue.svg)](https://galaxy.ansible.com/list#/roles/2304) +[![Build Status](https://travis-ci.org/Oefenweb/ansible-apt-file.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-apt-file) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-apt--file-blue.svg)](https://galaxy.ansible.com/tersmitten/apt-file) Set up apt-file in Debian-like systems. diff --git a/tasks/main.yml b/tasks/main.yml index a05487a..489b362 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,11 +2,12 @@ --- - name: install apt: - name: apt-file - state: latest + name: "{{ item }}" + state: "{{ apt_install_state | default('latest') }}" update_cache: true cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}" register: result + with_items: "{{ apt_file_dependencies }}" tags: - configuration - apt-file diff --git a/vars/main.yml b/vars/main.yml index cdc11f2..03ea038 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,2 +1,4 @@ # vars file for apt-file --- +apt_file_dependencies: + - apt-file