blob: 7a67139369eb0e7ae43334057bd639f5b3590362 [file] [log] [blame]
# Install TightVNC server.
- hosts: all
tasks:
- name: Create Temp
win_file:
path: c:\Temp
state: directory
- name: Copy the TightVNC MSI to the host
win_copy:
src: "{{ win_package_src }}/tightvnc-2.8.11-gpl-setup-64bit.msi"
dest: c:\Temp\tightvnc.msi
- name: Install TightVNC
win_package:
path: c:\Temp\tightvnc.msi
# https://www.tightvnc.com/doc/win/TightVNC_2.7_for_Windows_Installing_from_MSI_Packages.pdf
arguments: SET_PASSWORD=1 VALUE_OF_PASSWORD={{ ansible_password }}
state: present
- name: Cleanup
win_file:
path: c:\Temp\tightvnc.msi
state: absent