migrate from github
This commit is contained in:
11
linux_update_omv.yml
Normal file
11
linux_update_omv.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Update OpenMediaVault
|
||||
hosts: all
|
||||
|
||||
tasks:
|
||||
- name: On execute la commande "omv-update"
|
||||
shell:
|
||||
cmd: omv-update
|
||||
|
||||
- name: On applique la configuration
|
||||
shell:
|
||||
cmd: '/usr/sbin/omv-rpc -u admin "config" "applyChanges" "{ \"modules\": $(cat /var/lib/openmediavault/dirtymodules.json),\"force\": true }"'
|
||||
Reference in New Issue
Block a user