mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-07 18:11:07 +02:00
21 lines
419 B
YAML
21 lines
419 B
YAML
---
|
|
- name: prepare
|
|
hosts: all
|
|
become: yes
|
|
gather_facts: no
|
|
|
|
roles:
|
|
- role: robertdebock.bootstrap
|
|
|
|
tasks:
|
|
- name: make /etc/default
|
|
ansible.builtin.file:
|
|
path: /etc/default
|
|
state: directory
|
|
mode: "0755"
|
|
- name: place bogus /etc/default/grub
|
|
ansible.builtin.copy:
|
|
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
|
dest: /etc/default/grub
|
|
mode: "0664"
|