You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloud-images/ansible/roles/disable_firstboot/tasks/main.yml

11 lines
219 B

---
- 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