feat: schedule app start at @reboot
This commit is contained in:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user