forked from mrlesmithjr/ansible-guacamole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
109 lines (82 loc) · 2.99 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
# defaults file for ansible-guacamole
# Authentication MySQL
guacamole_auth_jdbc_package: "{{ 'guacamole-auth-jdbc-' + guacamole_version + '.tar.gz' }}"
guacamole_auth_provider: net.sourceforge.guacamole.net.basic.BasicFileAuthenticationProvider
guacamole_client_package: "{{ 'guacamole-' + guacamole_version + '.war' }}"
guacamole_dl_url: "{{ 'http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/' + guacamole_version }}"
guacamole_server_hostname: localhost
# Authentication OpenID
guacamole_auth_openid_package: "{{ 'guacamole-auth-sso-' + guacamole_version + '.tar.gz' }}"
guacamole_openid_auth: false
guacamole_auth_openid_priority: ""
# Defines if MySQL DB should be used for authentication
guacamole_mysql_auth: false
guacamole_mysql_connector_package: "{{ guacamole_mysql_connector_dl_url + 'mysql-connector-java-' + guacamole_mysql_connector_version + '.tar.gz' }}"
guacamole_mysql_connector_dl_url: https://dev.mysql.com/get/Downloads/Connector-J/
guacamole_mysql_connector_version: 8.0.13
# Defines if PostgreSQL DB should be used for authentication
guacamole_postgresql_auth: false
guacamole_prosgresql_external: false
guacamole_postgresql_connector_package: "{{ guacamole_postgresql_connector_dl_url + 'postgresql-' + guacamole_postgresql_connector_version + '.jar' }}"
guacamole_postgresql_connector_dl_url: https://jdbc.postgresql.org/download/
guacamole_postgresql_connector_version: 42.2.20
# Define MySQL DB Info
guacamole_mysql_db:
name: guacamole
host: localhost
port: 3306
username: guacamole
password: guacamole
# Define PostgreSQL DB Info
guacamole_postgresql_db:
name: guacamole
host: localhost
port: 5432
username: guacamole
password: guacamole
auto-create-accounts: true
# Define OpenID Info
guacamole_openid:
authorization-endpoint:
jwks-endpoint:
issuer:
client-id:
redirect-uri:
username-claim-type: preferred_username
groups-claim-type: groups
allowed-clock-skew: 500
# RDP settings
guacamole_rdp_color_depth: 24
guacamole_rdp_disable_auth: false
guacamole_rdp_height: 900
guacamole_rdp_width: 1440
guacamole_rdp_security: rdp
guacamole_rdp_ignore_cert: false
guacamole_redhat_fusion_repos:
- https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
- https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
guacamole_server_package: "{{ 'guacamole-server-' + guacamole_version + '.tar.gz' }}"
guacamole_server_port: 4822
#guacamole_basic_user_mapping: /etc/guacamole/user-mapping.xml
guacamole_src_dir: /usr/local/src
guacamole_users: []
# - name: user1
# password: password
# connections:
# - host: 10.0.101.50
# name: nas01
# protocol: ssh
# port: 22
# - host: 192.168.250.11
# name: windows2016
# protocol: rdp
# port: 3389
# - host: 192.168.250.11
# name: 192.168.250.11
# protocol: vnc
# port: 5901
# password: password
# Define version to install
# 0.9.13-incubating | 0.9.14 | 1.0.0 | 1.1.0
guacamole_version: 1.1.0