mint-config-update after reboot/boot

This commit is contained in:
olli 2022-12-02 09:51:19 +01:00
parent 87e5f087c4
commit 67fdd68fb3

View File

@ -109,6 +109,20 @@
force: 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
ansible.builtin.get_url:
url: https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint-config-update.desktop