diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-12-02 16:23:36 -0500 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2015-12-02 16:23:36 -0500 |
commit | f7835bc727bb2a290ebc42be9e16f3d775b2588b (patch) | |
tree | e40313defb290c23963d0abddd212b951c354baa /roles/cockpit/tasks | |
parent | e14da724f79e1fd75aea03bfab2179c7ef42c3e6 (diff) | |
parent | af009a7a51d7b6f5799a14c452cc7db92727135e (diff) | |
download | openshift-f7835bc727bb2a290ebc42be9e16f3d775b2588b.tar.gz openshift-f7835bc727bb2a290ebc42be9e16f3d775b2588b.tar.bz2 openshift-f7835bc727bb2a290ebc42be9e16f3d775b2588b.tar.xz openshift-f7835bc727bb2a290ebc42be9e16f3d775b2588b.zip |
Merge pull request #966 from maxamillion/fedora
Fedora changes:
Diffstat (limited to 'roles/cockpit/tasks')
-rw-r--r-- | roles/cockpit/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml index 875cbad21..8410e7c90 100644 --- a/roles/cockpit/tasks/main.yml +++ b/roles/cockpit/tasks/main.yml @@ -8,6 +8,18 @@ - cockpit-shell - cockpit-bridge - "{{ cockpit_plugins }}" + when: ansible_pkg_mgr == "yum" + +- name: Install cockpit-ws + dnf: + name: "{{ item }}" + state: present + with_items: + - cockpit-ws + - cockpit-shell + - cockpit-bridge + - "{{ cockpit_plugins }}" + when: ansible_pkg_mgr == "dnf" - name: Enable cockpit-ws service: |