Parameterized packages
This commit is contained in:
parent
613ce9fe8e
commit
1e626ea318
|
@ -1,3 +1,7 @@
|
|||
---
|
||||
# defaults file for bvansomeren.cockpit
|
||||
cockpit_disable_tls: no
|
||||
cockpit_packages:
|
||||
- cockpit
|
||||
- cockpit-bridge
|
||||
- cockpit-machines
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
# tasks file for bvansomeren.cockpit
|
||||
|
||||
- name: ensure cockpit is installed
|
||||
package: name=cockpit state=present
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ cockpit_packages }}"
|
||||
|
||||
- name: disable cockpit internal TLS
|
||||
ini_file: dest=/usr/lib/systemd/system/cockpit.service section=Service option=ExecStart value="/usr/libexec/cockpit-ws --no-tls"
|
||||
|
|
Loading…
Reference in New Issue
Block a user