mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Update vnc.yml
This commit is contained in:
parent
3d7e384f14
commit
4d4a5c0c26
@ -10,9 +10,21 @@
|
||||
name: tightvncserver
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- set_fact:
|
||||
ansible_python_interpreter: "/usr/bin/python3"
|
||||
|
||||
- name: install expect
|
||||
yum:
|
||||
name: expect
|
||||
state: latest
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: install expect for ubuntu
|
||||
apt:
|
||||
name: expect
|
||||
state: latest
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: copy bt install script
|
||||
copy: src=bt.exp dest=/root/bt.exp mode=0644
|
||||
|
||||
- name: Create a random password for VNC
|
||||
set_fact: temp_password="{{ lookup('password', '/tmp/passwordfile length=8 chars=digits') }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user