feat: schedule app start at @reboot

This commit is contained in:
Lenoctambule
2026-04-02 21:40:13 +02:00
parent ceab15c25e
commit 0606221d9f

View File

@@ -51,7 +51,12 @@
url: https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbot/ssl-dhparams.pem
dest: "{{ dest_dir }}/srcs/nginx/certbot/conf/ssl-dhparams.pem"
- name: Run the app
ansible.builtin.command: "make -C {{ dest_dir }}"
when: not ansible_check_mode
when: not ansible_check_mode
- name: Schedule to start app at reboot
ansible.builtin.cron:
name: "Start app at boot"
special_time: reboot
job: "make -C {{ dest_dir }}"