Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Commit

Permalink
make recipe idempotent
Browse files Browse the repository at this point in the history
  • Loading branch information
mylokin committed Oct 20, 2017
1 parent 967330a commit 56e7777
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
---
- name: update apt-cache
apt:
update_cache: yes
cache_valid_time: 3600
changed_when: no
tags:
- install

- name: install dependencies
apt:
name:
- curl
- unzip
state: present
update_cache: yes
cache_valid_time: 3600
tags:
- install
Expand Down

0 comments on commit 56e7777

Please sign in to comment.