Fixed some lint suggestions

This commit is contained in:
Francesco Antognazza
2023-02-06 10:11:03 +01:00
parent 29ead64f6a
commit 3e7f5b44b3
6 changed files with 41 additions and 28 deletions

View File

@@ -1,8 +1,9 @@
- hosts: chef.heaplab.deib.polimi.it
name: Base configuration of OS
pre_tasks:
- name: Update system
become: true
package:
ansible.builtin.package:
name: "*"
state: latest # noqa package-latest
- name: Set hostname
@@ -10,10 +11,10 @@
ansible.builtin.hostname:
name: chef
use: systemd
#- name: Reboot
# become: true
# reboot:
# - name: Reboot
# become: true
# ansible.builtin.reboot:
roles:
- auto-updates
- base-os