chef-recipes/roles/cockpit/tasks/main.yml

33 lines
624 B
YAML
Raw Normal View History

2023-02-01 17:34:56 +00:00
- name: Install base packages
become: true
package:
name:
- cockpit
- cockpit-bridge
- cockpit-machines
- 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
2023-02-03 15:59:22 +00:00
#- name: Reboot
# become: true
# reboot: