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