From f1956b1f83c25f9daa08de5d1ae77b56ecc555e2 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Fri, 19 Dec 2014 22:14:43 +0100 Subject: [PATCH] Fix for failing build --- .travis.yml | 3 +++ README.md | 2 +- tasks/main.yml | 8 +++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 890b5ce..dc17bff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ env: before_install: - sudo apt-get update -qq + # Remove mlocate + - sudo apt-get remove --purge mlocate + install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION diff --git a/README.md b/README.md index 9ba6280..ab2c7b5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Manage updatedb Debian-like systems. #### Requirements -None +* `mlocate` (will be installed) #### Variables diff --git a/tasks/main.yml b/tasks/main.yml index 6103af7..c752cda 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,11 @@ --- # tasks file for updatedb +- name: install + apt: + name: mlocate + state: latest + tags: [configuration, updatedb, updatedb-install] + - name: configure /etc/updatedb.conf template: src: etc/updatedb.conf.j2 @@ -9,4 +15,4 @@ mode: 0644 backup: true notify: update updatedb - tags: [configuration, updatedb] + tags: [configuration, updatedb, updatedb-configuration]