# # Ce playbook est à exécuter pour forcer la configuration au prochain démarrage # - name: Préparation de la configuration au prochain démarrage hosts: localhost vars_files: - main.yml tasks: - name: Firstboot ansible.builtin.file: src: /opt/linuxinstaller/linuxinstaller-firstboot.service dest: /etc/systemd/system/linuxinstaller-firstboot.service state: link owner: root group: root mode: u=rw,g=r,o=r - name: Active firstboot ansible.builtin.service: name: linuxinstaller-firstboot enabled: true - name: Ajoute extra_packages ansible.builtin.package: name: "{{ extra_packages }}" when: extra_packages is defined