Making ansible-pull.sh update crontab and logrotate each time it is executed.

This commit is contained in:
Emiliano Vavassori 2015-10-02 02:42:35 +02:00
parent a6bd1c6deb
commit 18c4b64ff2
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
# Aggiorna crontab e logrotate forzosamente.
\curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/ansible-pull/init-ansible.sh | bash
# Script provvisorio.
# Potremmo decidere di far eseguire uno script generato da servizio
# domainhelper contenente anche l'eventuale branch da usare.