mirror of
https://github.com/stylersnico/semaphore-updater-debian.git
synced 2026-06-04 16:08:38 +02:00
Create update-semaphore.yml
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
become: yes
|
||||
become_method: sudo
|
||||
tasks:
|
||||
- name: Truncate logs
|
||||
shell: echo "" > /etc/ansible/ansible.log
|
||||
|
||||
- name: Upgrade Semaphore package
|
||||
shell: bash /root/semaphore_latest.sh
|
||||
|
||||
- name: Restart service Semaphore, in all cases
|
||||
ansible.builtin.service:
|
||||
name: semaphore
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user