Initial configuration

This commit is contained in:
2023-02-01 18:34:56 +01:00
parent f95391a1fb
commit 676f7e2f3e
12 changed files with 162 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
- name: Install base packages
become: true
package:
name:
- cockpit
- cockpit-bridge
- cockpit-machines
- cockpit-navigator
- cockpit-packagekit
- cockpit-podman
- cockpit-storaged
- cockpit-system
- cockpit-ws
state: present
- name: Enable cockpit
become: true
ansible.builtin.systemd:
name: cockpit.socket
enabled: yes
state: started
- name: Copy cockpit configuration
become: true
ansible.builtin.template:
src: cockpit.conf.j2
dest: /etc/cockpit/cockpit.conf
owner: root
group: root
mode: 0644
- name: Reboot
become: true
reboot: