main.yml 350 B

123456789101112131415
  1. ---
  2. - name: Install cockpit-ws
  3. action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
  4. with_items:
  5. - cockpit-ws
  6. - cockpit-shell
  7. - cockpit-bridge
  8. - "{{ cockpit_plugins }}"
  9. when: not openshift.common.is_containerized | bool
  10. - name: Enable cockpit-ws
  11. service:
  12. name: cockpit.socket
  13. enabled: true
  14. state: started