diff --git a/apps/roles/runtime/tasks/main.yml b/apps/roles/runtime/tasks/main.yml index a4da1fdf..e223e5a8 100644 --- a/apps/roles/runtime/tasks/main.yml +++ b/apps/roles/runtime/tasks/main.yml @@ -20,12 +20,14 @@ yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator-0.5.10-1.el7.noarch.rpm -y when: ansible_os_family == "RedHat" +- name: Copy cockpit + copy: src=../cockpit dest=/tmp + - name: Install websoft9's plugins shell: | - git clone --depth=1 https://github.com/Websoft9/StackHub.git - cp -r StackHub/cockpit/credential /usr/share/cockpit - cp -r StackHub/cockpit/phpmyadmin /usr/share/cockpit - cp -r StackHub/cockpit/nginxproxymanager /usr/share/cockpit + cp -r /tmp/cockpit/credential /usr/share/cockpit + cp -r /tmp/cockpit/phpmyadmin /usr/share/cockpit + cp -r /tmp/cockpit/nginxproxymanager /usr/share/cockpit echo "UrlRoot=/panel" >> /etc/cockpit/cockpit.conf systemctl restart cockpit