Use full names for ansible modules
This commit is contained in:
parent
e1b19340cc
commit
e569fe399d
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: remove unneeded packages
|
- name: remove unneeded packages
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
- mlocate
|
- mlocate
|
||||||
|
|
||||||
- name: install extra packages
|
- name: install extra packages
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: installed
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
- virt-manager # manage virtual machines
|
- virt-manager # manage virtual machines
|
||||||
|
|
||||||
- name: hide grub menu during boot
|
- name: hide grub menu during boot
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/default/grub
|
path: /etc/default/grub
|
||||||
line: GRUB_TIMEOUT_STYLE=hidden
|
line: GRUB_TIMEOUT_STYLE=hidden
|
||||||
regexp: "^GRUB_TIMEOUT_STYLE=.*"
|
regexp: "^GRUB_TIMEOUT_STYLE=.*"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: reconfigure grub
|
- name: reconfigure grub
|
||||||
command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
- grub2-mkconfig
|
- grub2-mkconfig
|
||||||
- -o
|
- -o
|
||||||
|
|
Loading…
Add table
Reference in a new issue