2021-04-11 16:00:07 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
dnf:
|
|
|
|
name:
|
|
|
|
- qt5-qttools-devel
|
|
|
|
- qt5-qtwebsockets-devel
|
|
|
|
- qt5-qtwebengine-devel
|
2021-11-16 15:23:42 +00:00
|
|
|
- openconnect
|
2021-04-11 16:00:07 +01:00
|
|
|
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
|
|
|
|
|
2021-11-16 15:23:42 +00:00
|
|
|
- name: Install using provided script
|
2021-04-11 16:00:07 +01:00
|
|
|
command:
|
|
|
|
chdir: /tmp/GlobalProtect-openconnect
|
2021-11-16 15:23:42 +00:00
|
|
|
cmd: ./scripts/install.sh
|
2021-04-11 16:00:07 +01:00
|
|
|
creates: /usr/bin/gpclient
|