chef-recipes/chef.yml

24 lines
504 B
YAML
Raw Normal View History

2023-02-01 17:34:56 +00:00
- hosts: chef.heaplab.deib.polimi.it
2023-02-06 09:11:03 +00:00
name: Base configuration of OS
2023-02-01 17:34:56 +00:00
pre_tasks:
- name: Update system
become: true
2023-02-06 09:11:03 +00:00
ansible.builtin.package:
2023-02-01 17:34:56 +00:00
name: "*"
state: latest # noqa package-latest
- name: Set hostname
become: true
ansible.builtin.hostname:
name: chef
use: systemd
2023-02-06 09:11:03 +00:00
# - name: Reboot
# become: true
# ansible.builtin.reboot:
2023-02-01 17:34:56 +00:00
roles:
- auto-updates
- base-os
- enable-cgroup-v2
- podman
- cockpit