24 lines
504 B
YAML
24 lines
504 B
YAML
- hosts: chef.heaplab.deib.polimi.it
|
|
name: Base configuration of OS
|
|
pre_tasks:
|
|
- name: Update system
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: "*"
|
|
state: latest # noqa package-latest
|
|
- name: Set hostname
|
|
become: true
|
|
ansible.builtin.hostname:
|
|
name: chef
|
|
use: systemd
|
|
# - name: Reboot
|
|
# become: true
|
|
# ansible.builtin.reboot:
|
|
|
|
roles:
|
|
- auto-updates
|
|
- base-os
|
|
- enable-cgroup-v2
|
|
- podman
|
|
- cockpit
|