zaxos.guacamole-ansible-role

构建状态 Ansible Galaxy

guacamole-ansible-role

这是一个 Ansible 角色,用于安装和配置使用 MySQL/MariaDB 的 Guacamole。

要求

  • centos/rhel 7
  • ansible >= 2.2
  • 禁用 selinux

安装

$ ansible-galaxy install zaxos.guacamole-ansible-role

示例剧本

    - hosts: servers
      vars:
        guacamole_version: 0.9.14
        guacamole_mysql_root_password: MY-PASSWORD-HERE
      roles:
        - role: zaxos.guacamole-ansible-role

角色变量

需要查看的一些变量:

  • guacamole_version: 要安装的 Guacamole 版本。目前最新版本是 "0.9.14"。
  • guacamole_mysql_root_password: 本地 MariaDB 安装创建的 root 用户密码。对于现有安装,只需输入 "root" 用户的密码。
  • guacamole_db_name: Guacamole 使用的数据库名称。默认是 "guac_db"。
  • guacamole_db_username: Guacamole 使用的数据库用户名。默认是 "guac_db_usr"。
  • guacamole_db_password: Guacamole 使用的数据库用户密码。默认是 "guacdbpassword"。
  • guacamole_configure_firewalld: 如果设置为 "True",将安装并正确配置 firewalld。默认值是 "False"。

一些默认设置(可能不需要更改):

  • guacamole_mysql_secure_installation: True
    执行与 "mysql_secure_installation" 命令等效的操作。
  • guacamole_temp_path: /tmp/guactempdir
    用于部署的临时目录,部署后会被删除。

使用方法

安装后,打开浏览器访问: http://IP_or_FQDN:8080/guacamole
默认用户名和密码是: guacadmin
(别忘了更改密码)

关于项目

Ansible role to install and configure Guacamole with MySQL/MariaDB

安装
ansible-galaxy install zaxos.guacamole-ansible-role
许可证
gpl-2.0
下载
363