mint-config-update after reboot/boot
This commit is contained in:
parent
87e5f087c4
commit
67fdd68fb3
14
mint.yml
14
mint.yml
@ -109,6 +109,20 @@
|
|||||||
force: yes
|
force: yes
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
|
- name: /etc/cron.d/mint-config-update
|
||||||
|
blockinfile:
|
||||||
|
path: /etc/cron.d/mint-config-update
|
||||||
|
mode: "0444"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
create: yes
|
||||||
|
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||||
|
block: |
|
||||||
|
# run mint-config-update after each reboot
|
||||||
|
@reboot root tmux new-session -s mint-config-update -d "sleep 120 ; /usr/local/sbin/mint-config-update.sh"
|
||||||
|
backup: yes
|
||||||
|
validate: /bin/bash -n %s
|
||||||
|
|
||||||
- name: mint-config-update startmenu
|
- name: mint-config-update startmenu
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint-config-update.desktop
|
url: https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint-config-update.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user