Skip to content

Commit

Permalink
Ansible: Added additional execution of cron.py for publising
Browse files Browse the repository at this point in the history
Fixes #435
  • Loading branch information
inghamn committed May 25, 2018
1 parent bd2cfce commit a39e903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ansible/asm_install.yml
Expand Up @@ -62,7 +62,7 @@
- "{{ asm_data }}/cache"
- "{{ asm_data }}/media"
- "/srv/backups/asm"
- "/var/log/cron/asm"
- "/var/log/cron"

- name: "Install release"
command: "rsync -rlv /usr/local/src/{{ asm_archive.name }}/ {{ asm_path }}/"
Expand Down
1 change: 1 addition & 0 deletions scripts/ansible/templates/cron.sh
Expand Up @@ -24,6 +24,7 @@ num_days_to_keep=5
# ASM configured cron activies
#----------------------------------------------------------
/usr/bin/python $ASM_PATH/src/cron.py daily &> /var/log/cron/asm
/usr/bin/python $ASM_PATH/src/cron.py publish_3pty &>> /var/log/cron/asm

#----------------------------------------------------------
# Backups
Expand Down

0 comments on commit a39e903

Please sign in to comment.