Skip to content

Commit

Permalink
Merge pull request #3 from Oefenweb/consistency-changes
Browse files Browse the repository at this point in the history
Consistency changes
  • Loading branch information
tersmitten authored Nov 10, 2016
2 parents 31f9858 + 06f8421 commit b68e73f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## updatedb

[![Build Status](https://travis-ci.org/Oefenweb/ansible-updatedb.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-updatedb) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-updatedb-blue.svg)](https://galaxy.ansible.com/list#/roles/2463)
[![Build Status](https://travis-ci.org/Oefenweb/ansible-updatedb.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-updatedb) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-updatedb-blue.svg)](https://galaxy.ansible.com/tersmitten/updatedb)

Manage updatedb Debian-like systems.

Expand Down
11 changes: 2 additions & 9 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
role = File.basename(File.expand_path(File.dirname(__FILE__)))

boxes = [
{
:name => "ubuntu-1004",
:box => "bento/ubuntu-10.04",
:ip => '10.0.0.10',
:cpu => "50",
:ram => "256"
},
{
:name => "ubuntu-1204",
:box => "bento/ubuntu-12.04",
Expand All @@ -26,8 +19,8 @@ boxes = [
:ram => "256"
},
{
:name => "debian-6010",
:box => "bento/debian-6.0.10",
:name => "ubuntu-1604",
:box => "bento/ubuntu-16.04",
:ip => '10.0.0.13',
:cpu => "50",
:ram => "256"
Expand Down
3 changes: 1 addition & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- lucid
- precise
- trusty
- xenial
- name: Debian
versions:
- squeeze
- wheezy
- jessie
galaxy_tags:
Expand Down
12 changes: 9 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
- name: install
apt:
name: mlocate
state: latest
state: "{{ apt_install_state | default('latest') }}"
update_cache: true
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
tags: [configuration, updatedb, updatedb-install]
tags:
- configuration
- updatedb
- updatedb-install

- name: configure /etc/updatedb.conf
template:
Expand All @@ -17,4 +20,7 @@
mode: 0644
backup: true
notify: update updatedb
tags: [configuration, updatedb, updatedb-configuration]
tags:
- configuration
- updatedb
- updatedb-configuration

0 comments on commit b68e73f

Please sign in to comment.