Difference between revisions of "Install Guacamole - HTML5 RDP Gateway"

From Bitbull Wiki
Jump to navigation Jump to search
Line 31: Line 31:
 
   - systemd:
 
   - systemd:
 
       name: firewalld
 
       name: firewalld
       state: restarted
+
       state: started
 
       enabled: True
 
       enabled: True
 
   - firewalld:
 
   - firewalld:
Line 37: Line 37:
 
       permanent: true
 
       permanent: true
 
       state: enabled
 
       state: enabled
 +
  - systemd:
 +
      name: firewalld
 +
      state: restarted
 +
      enabled: True
 
   roles:
 
   roles:
 
   - joe-speedboat.guacamole
 
   - joe-speedboat.guacamole
Line 42: Line 46:
 
</pre>
 
</pre>
  
 
+
[[Category:Ansible]]
 
+
[[Category:Howtos]]
 
+
[[Category:Rocky9]]
  
 
==fire==
 
==fire==

Revision as of 06:24, 17 May 2023

1 general

  • guacamole is a great way to present windows apps and desktops to the internet.

You have only one https port open to the internet and the application is working pretty nice and fast.

2 install

  • do this steps as root user

2.1 setup ansible

yum  makecache
yum -y upgrade
curl -L ansible.bitbull.ch | bash

2.2 prepare ansible role

ansible-galaxy install joe-speedboat.guacamole
ansible-galaxy install joe-speedboat.mariadb
ansible-galaxy collection install ansible.posix community.mysql community.general

vim /etc/ansible/playbooks/install_guacamole.yml
----------
- hosts: localhost
  become: True
  vars:
    mariadb_user_password: '.change-this_000.'
    mariadb_root_password: '.change-this_111.'
  tasks:
  - dnf:
      name: firewalld
  - systemd:
      name: firewalld
      state: started
      enabled: True
  - firewalld:
      service: https
      permanent: true
      state: enabled
  - systemd:
      name: firewalld
      state: restarted
      enabled: True
  roles:
  - joe-speedboat.guacamole
----------

2.3 fire

ansible-playbook /etc/ansible/playbooks/install_guacamole.yml