--- - name: Disable firstboot ansible.builtin.lineinfile: path: /etc/sysconfig/firstboot regexp: '^RUN_FIRSTBOOT=' line: 'RUN_FIRSTBOOT=NO' create: true owner: root group: root mode: 0o644