Skip to content

Commit

Permalink
simple vnc server setup play (#188)
Browse files Browse the repository at this point in the history
* force roles/nestuser/scripts/password_hasher.py to use python2

* fix print to work with python2/3

* ignore runtime json

* initial drop WA tWAS registratio

* fix choice default

* fix pass defaults

* syntax

* change inventory to hostlist

* masked out apikey

* more README details

* interim liberty config

* added store pass

* syntax error

* added missing updated files

* password maint

* swizzle use of the dang wa_cert

* cleanup extra gizmos

* remove useless prints

* db2 rhel updated to 8.4

* jmeter fyre rhel updated to 8.4

* ansible debug -vvv

* overwrite any password.sh files to ensure getting updated password

* issue #183

* space

* enhance startServers fla

* swizzled new inventory.yml to accomodate tWAS and Liberty

* added comment

* more version details in inventory.yml

* reordered vars and add more comment

* new vnc play

* add role softlink

* simple vnc play - only supports RHEL8 now

* README update
  • Loading branch information
stevenschader authored Jul 1, 2021
1 parent 2e6b289 commit 5761597
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/vnc-play/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/inventory
31 changes: 31 additions & 0 deletions ansible/vnc-play/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Ansible Playbook for configuring VNC Server

## Limitations:

- Currently support for:
- RHEL8
- UB20.04 ( future )


## Setting up inventory

- From the `vnc-play` directory copy the sample inventory file at `examples/inventory` to the current directory.

```
cp examples/inventory .
```
- Change the ansible_user in the inventory to match the target user you wish to run vnc server

## Run playbook


Once you have configured the `inventory` file, run the playbook using:

```
ansible-playbook -i inventory vnc-play
## Access vnc
One can also vncviewer stackname_FQDN:5901
password is : vncPassw0rd
5 changes: 5 additions & 0 deletions ansible/vnc-play/examples/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[all]
myhost

[all:vars]
ansible_user=root
1 change: 1 addition & 0 deletions ansible/vnc-play/roles
6 changes: 6 additions & 0 deletions ansible/vnc-play/vnc-play
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---

- hosts: all
roles:
- role: vnc

0 comments on commit 5761597

Please sign in to comment.