Skip to content

Commit

Permalink
Create var walle_malware_database_force_update
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 14, 2024
1 parent a2f2246 commit 816fca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
walle_malware_database_location: /etc/walle
walle_malware_database_version: main
walle_malware_repo: https://github.com/usegalaxy-eu/intergalactic-most-wanted-list.git
walle_malware_database_force_update: false # Local changes will be overwritten

walle_pgpass_file: "/home/{{ walle_user_name }}/.pgpass"
walle_bashrc: /opt/galaxy/.bashrc
Expand Down
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
repo: "{{ walle_malware_repo }}"
dest: "{{ walle_malware_database_location }}"
version: "{{ walle_malware_database_version }}"
ignore_errors: yes # allow keeping local changes
force: "{{ walle_malware_database_force_update }}"
ignore_errors: "{{ walle_malware_database_force_update }}"

- name: Touch walle .bashrc file
ansible.builtin.file:
Expand Down

0 comments on commit 816fca9

Please sign in to comment.