Added installing step to install sudo.
This commit is contained in:
parent
b0ace19010
commit
e47d5d6498
@ -40,9 +40,10 @@
|
||||
name: "*"
|
||||
state: latest
|
||||
#
|
||||
- name: Install locale thingies
|
||||
- name: Install locale thingies and sudo
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- sudo
|
||||
- locales
|
||||
- locales-all
|
||||
#
|
||||
@ -147,10 +148,9 @@
|
||||
- name: Set timezone
|
||||
command: timedatectl set-timezone {{ new_timezone }}
|
||||
|
||||
|
||||
# REBOOT
|
||||
- name: reboot
|
||||
ansible.builtin.reboot:
|
||||
become: no
|
||||
ignore_unreachable: true
|
||||
# become: no
|
||||
# ansible.builtin.shell: 'sleep 1 && dhclient -r && dhclient && reboot'
|
||||
# ignore_unreachable: true
|
Loading…
x
Reference in New Issue
Block a user