--- - 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