Skip to content

Commit

Permalink
Merge pull request #12 from singleplatform-eng/Bugfix_omit_apt_only_p…
Browse files Browse the repository at this point in the history
…aram_from_package_task

make cache_valid_time default omit for non-apt OSes
  • Loading branch information
wwaltersp authored Oct 25, 2018
2 parents 2c9782f + e960234 commit 898c856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package:
name: "{{nessus_agent_package}}"
update_cache: yes
cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
cache_valid_time: "{{apt_cache_valid_time | default (omit)}}"
when: "'.deb' not in nessus_agent_package"

- name: Install Nessus Agent from .deb package
Expand Down

0 comments on commit 898c856

Please sign in to comment.