2024-09-30 19:32:52 +02:00
|
|
|
#
|
2024-10-13 15:18:43 +02:00
|
|
|
# Ce playbook est à exécuter pour forcer la configuration au prochain démarrage
|
2024-09-30 19:32:52 +02:00
|
|
|
#
|
|
|
|
|
2024-10-13 15:18:43 +02:00
|
|
|
- name: Préparation de la configuration au prochain démarrage
|
2024-09-30 19:32:52 +02:00
|
|
|
hosts: localhost
|
|
|
|
vars_files:
|
|
|
|
- main.yml
|
|
|
|
tasks:
|
2024-10-02 08:33:59 +02:00
|
|
|
- name: Firstboot
|
2024-10-05 13:09:45 +02:00
|
|
|
ansible.builtin.file:
|
|
|
|
src: /opt/libreticmenu/libreticmenu-firstboot.service
|
|
|
|
dest: /etc/systemd/system/libreticmenu-firstboot.service
|
|
|
|
state: link
|
2024-10-02 08:33:59 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
2024-10-05 13:09:45 +02:00
|
|
|
mode: u=rw,g=r,o=r
|
|
|
|
|
|
|
|
- name: Active firstboot
|
|
|
|
ansible.builtin.service:
|
|
|
|
name: libreticmenu-firstboot
|
|
|
|
enabled: true
|