Skip to content

Commit

Permalink
Remove mlocate cron job from server (ansible#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kihahu committed Feb 1, 2017
1 parent a415a28 commit 67c14fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provisioning/group_vars/all/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ monit_custom_config_path: "/etc/monit/monitrc.d/"
monit_host: localhost
monit_user: monit
monit_admin_user: admin

mlocate_path: /etc/cron.daily/mlocate
4 changes: 4 additions & 0 deletions provisioning/roles/server-setup/tasks/crons_setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Remove updatedb mlocate cron
file: path={{ mlocate_path }} state=absent
tags:
- remove-mlocate
5 changes: 5 additions & 0 deletions provisioning/roles/server-setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@
include: boto_setup.yml
tags:
- boto-setup

- name: cron setup tasks
include: crons_setup.yml
tags:
- cron-setup

0 comments on commit 67c14fe

Please sign in to comment.