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:
|
||||
- name: remove unneeded packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
|
@ -32,7 +32,7 @@
|
|||
- mlocate
|
||||
|
||||
- name: install extra packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
with_items:
|
||||
|
@ -43,7 +43,7 @@
|
|||
- virt-manager # manage virtual machines
|
||||
|
||||
- name: hide grub menu during boot
|
||||
lineinfile:
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/default/grub
|
||||
line: GRUB_TIMEOUT_STYLE=hidden
|
||||
regexp: "^GRUB_TIMEOUT_STYLE=.*"
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
handlers:
|
||||
- name: reconfigure grub
|
||||
command:
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- grub2-mkconfig
|
||||
- -o
|
||||
|
|
Loading…
Add table
Reference in a new issue