first commit
This commit is contained in:
commit
5690a2a2ba
13 changed files with 294 additions and 0 deletions
17
roles/setup_base_system/tasks/main.yml
Normal file
17
roles/setup_base_system/tasks/main.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
- name: Set a hostname
|
||||
become: true
|
||||
ansible.builtin.hostname:
|
||||
name: '{{ inventory_hostname.split(".")[0] | lower }}'
|
||||
|
||||
- name: Set the timezone
|
||||
become: true
|
||||
community.general.timezone:
|
||||
name: Australia/Perth
|
||||
|
||||
- name: Ensure locales exist
|
||||
become: true
|
||||
community.general.locale_gen:
|
||||
name:
|
||||
- en_US.UTF-8
|
||||
- en_AU.UTF-8
|
||||
state: present
|
Loading…
Add table
Add a link
Reference in a new issue