Skip to content

Commit

Permalink
Fix Ansible warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 29, 2018
1 parent 56eb618 commit b37e78c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ script:
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
- if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
- if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml; fi

notifications:
email: false
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# meta file for dropbox
---
galaxy_info:
role_name: dropbox
author: Mischa ter Smitten
company: Oefenweb.nl B.V.
description: Set up Dropbox in Debian-like systems
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
---
- name: install | dependencies
apt:
name: "{{ item }}"
name: "{{ dropbox_dependencies }}"
state: "{{ apt_install_state | default('latest') }}"
update_cache: true
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
with_items: "{{ dropbox_dependencies }}"
tags:
- dropbox-install-dependencies

Expand All @@ -29,6 +28,7 @@
-o {{ dropbox_downloads_path }}/dropbox_{{ dropbox_version }}_{{ dropbox_machine_map[ansible_machine] }}.deb
args:
creates: "{{ dropbox_downloads_path }}/dropbox_{{ dropbox_version }}_{{ dropbox_machine_map[ansible_machine] }}.deb"
warn: false
tags:
- configuration
- dropbox
Expand Down

0 comments on commit b37e78c

Please sign in to comment.