Checkpoint
This commit is contained in:
parent
e17f84ad8a
commit
1e03c32201
32 changed files with 556 additions and 298 deletions
37
roles/globalprotect/tasks/main.yml
Normal file
37
roles/globalprotect/tasks/main.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
|
||||
- name: Install dependencies
|
||||
dnf:
|
||||
name:
|
||||
- qt5-qttools-devel
|
||||
- qt5-qtwebsockets-devel
|
||||
- qt5-qtwebengine-devel
|
||||
state: present
|
||||
become: yes
|
||||
|
||||
- name: Clone yuezk/GlobalProtect-openconnect
|
||||
git:
|
||||
repo: 'https://github.com/yuezk/GlobalProtect-openconnect.git'
|
||||
recursive: yes
|
||||
update: yes
|
||||
version: master
|
||||
dest: /tmp/GlobalProtect-openconnect
|
||||
|
||||
- name: Qmake the Makefile
|
||||
command:
|
||||
chdir: /tmp/GlobalProtect-openconnect
|
||||
cmd: qmake-qt5 CONFIG+=release
|
||||
creates: /tmp/GlobalProtect-openconnect/Makefile
|
||||
|
||||
- name: Make all the things
|
||||
command:
|
||||
chdir: /tmp/GlobalProtect-openconnect
|
||||
cmd: make
|
||||
creates: /tmp/GlobalProtect-openconnect/GPClient/gpclient
|
||||
|
||||
- name: make install
|
||||
command:
|
||||
chdir: /tmp/GlobalProtect-openconnect
|
||||
cmd: make install
|
||||
creates: /usr/bin/gpclient
|
||||
become: yes
|
Loading…
Add table
Add a link
Reference in a new issue