style
This commit is contained in:
1 parent
121d1b297d
commit
b822472902
1 file changed
+4
-4
@@ -1,19 +1,20 @@
|
|||||||
---
|
---
|
||||||
- name: Set system timezone
|
- name: Set system timezone
|
||||||
|
become: true
|
||||||
community.general.timezone:
|
community.general.timezone:
|
||||||
# name: "{{ base_timezone }}"
|
# name: "{{ base_timezone }}"
|
||||||
name: Europe/Zurich
|
name: Europe/Zurich
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Fully upgrade system
|
- name: Fully upgrade system
|
||||||
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
upgrade: dist
|
upgrade: dist
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
become: true
|
|
||||||
notify: Reboot system
|
notify: Reboot system
|
||||||
|
|
||||||
- name: Install essential system utilities
|
- name: Install essential system utilities
|
||||||
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
# name: "{{ base_packages }}"
|
# name: "{{ base_packages }}"
|
||||||
name:
|
name:
|
||||||
@@ -26,7 +27,6 @@
|
|||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
become: true
|
|
||||||
|
|
||||||
# - name: Enable unattended-upgrades
|
# - name: Enable unattended-upgrades
|
||||||
# ansible.builtin.copy:
|
# ansible.builtin.copy:
|
||||||
@@ -35,4 +35,4 @@
|
|||||||
# APT::Periodic::Update-Package-Lists "1";
|
# APT::Periodic::Update-Package-Lists "1";
|
||||||
# APT::Periodic::Unattended-Upgrade "1";
|
# APT::Periodic::Unattended-Upgrade "1";
|
||||||
# mode: "0644"
|
# mode: "0644"
|
||||||
# when: ansible_facts['os_family'] == "Debian"
|
# when: ansible_facts['os_family'] == "Debian"
|
||||||
Reference in new issue
Block a user