Coder Social home page Coder Social logo

ansible-vnc-role's Introduction

Role Name

Simple role to configures a VNC server for multiple users.

Requirements

This role was only tested on CentOS 8 Stream, and ansible vbersion 2.12.10.

Role Variables

Configure these variables in your group_vars or host-vars.

  • vnc_users: A list of users, displays and password for each user. Variable under this var are as follows
  • user: The user name which will be used to configure the settings for that user.
  • display_id: The X window for that user
  • vnc_password: The password to add using the vncpasswd for that user.
  • vnc_ports: List of ports to open in firewalld to allow access to the VNC users. The ports will usually be 5901 for the user using display :1, and so on.
  • enable_firewalld: You can set this to False if you don't want the playbook to make changes to firewalld. Defalts to True.
  • firewalld_zone: The firewalld zone to add the ports to. You can find an example of these variable in this repo.
  • additional_packages: A list of additional packages to install.
  • install_utilities: This will install the packages listed in the additional_packages.
  • install_chrome: Add the google chrome repo and installs chrome.

Tasks

This role includes various tasks.

  • configure_os.yml: Here are some OS configuratios that make the VNC experience a bit better.
  • configure_firewall.yml: This configures firewalld to allow to open ports when enable_firewalld is set to True.
  • install_packages.yml: This installs some essential packages. You can add a list of packages you want to install in host_vars or group_vars. The default list can be found in vars/main.yml.
  • configure_vnc.yml: This configures the users and passwords for the VNC users, and enables the services.

ansible-vnc-role's People

Contributors

jewnix avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.