-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump Vagrantboxes * add Tumbleweed Vagrantbox * don't use broken Tumbleweed box * add SUSE code * bump GNOME role version * fix linting * use FQCNs
- Loading branch information
Showing
11 changed files
with
65 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
hosts: all | ||
|
||
roles: | ||
- role: ansible-pulse_client | ||
- role: stdevel.pulse_client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
roles: | ||
- name: alvistack.gnome_desktop | ||
version: 6.3.1 | ||
version: 8.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- name: Install package | ||
apt: | ||
ansible.builtin.apt: | ||
deb: "{{ pulse_filename }}" | ||
update_cache: true | ||
become: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# this is very ugly as Ivanti builds very ugly RPM packages | ||
# you have been warned ¯\_(ツ)_/¯ | ||
- name: Install packages | ||
ansible.builtin.command: "rpm -ivh --nodeps {{ pulse_filename }}" | ||
register: rpmout | ||
changed_when: | ||
- "'Updating / installing' in rpmout.stdout" | ||
failed_when: | ||
- rpmout.failed | ||
- "'is already installed' not in rpmout.stderr" | ||
ignore_errors: true | ||
become: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
--- | ||
- name: Include distribution-specific variables | ||
include_vars: "{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml" | ||
ansible.builtin.include_vars: "{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml" | ||
|
||
- name: Install required dependencies | ||
package: | ||
ansible.builtin.package: | ||
name: "{{ pulse_dependencies }}" | ||
become: true | ||
|
||
- name: Include installation tasks | ||
include_tasks: "install_{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml" | ||
ansible.builtin.include_tasks: "install_{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml" | ||
|
||
- name: Check running services | ||
service_facts: | ||
ansible.builtin.service_facts: | ||
register: running_services | ||
become: true | ||
|
||
- name: Disable systemd-resolved (not supported by Pulse Secure) | ||
include_tasks: resolved.yml | ||
ansible.builtin.include_tasks: resolved.yml | ||
when: | ||
- running_services['ansible_facts']['services']['systemd-resolved.service'] is defined | ||
- running_services['ansible_facts']['services']['systemd-resolved.service']['state'] == "running" | ||
|
||
- name: Download Chrome Embedded Browser | ||
command: /opt/pulsesecure/bin/setup_cef.sh install | ||
ansible.builtin.command: /opt/pulsesecure/bin/setup_cef.sh install | ||
args: | ||
creates: /opt/pulsesecure/lib/cefRuntime/Resources/libcef.so | ||
become: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
--- | ||
- name: Reset resolv.conf | ||
become: true | ||
block: | ||
- name: Remove /etc/resolv.conf (could be a symlink) | ||
file: | ||
ansible.builtin.file: | ||
path: /etc/resolv.conf | ||
state: absent | ||
|
||
- name: Copy last systemd-resolved resolv.conf stub | ||
copy: | ||
ansible.builtin.copy: | ||
src: /run/systemd/resolve/resolv.conf | ||
dest: /etc/resolv.conf | ||
owner: root | ||
group: root | ||
mode: '0644' | ||
|
||
- name: Remove systemd-resolved comments | ||
lineinfile: | ||
ansible.builtin.lineinfile: | ||
path: /etc/resolv.conf | ||
regexp: '^# ' | ||
state: absent | ||
|
||
- name: Restart network | ||
systemd: | ||
ansible.builtin.systemd: | ||
name: "{{ pulse_os_network_service }}" | ||
state: restarted | ||
become: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
- hosts: localhost | ||
- name: Run role | ||
hosts: localhost | ||
remote_user: root | ||
roles: | ||
- pulse_client | ||
- stdevel.pulse_client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
pulse_dependencies: | ||
- tar | ||
- bzip2 | ||
- bind-utils | ||
- perl-Digest-SHA1 | ||
- libgtkmm-3_0-1 | ||
|
||
pulse_filename: 'https://dreckstools.cstan.io/pulsesecure-latest.rpm' | ||
# alternate sites: | ||
# - https://webdev.web3.technion.ac.il/docs/cis/public/ssl-vpn/v.22.2R1.0/ps-pulse-linux-22.2r1.0-b1295-64bit-installer.rpm | ||
# - https://www.rz-cms.uni-osnabrueck.de/dienste/vpn/pulsesecure_vpn.html#Anchor3db | ||
# - https://vubnet.vub.ac.be/downloads.html | ||
|
||
pulse_os_network_service: 'NetworkManager.service' |