You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- ---
-
- - name: vnc directory
- file:
- path: ~/.vnc
- state: directory
- mode: 0700
-
- - name: vnc passwd
- copy:
- content: "{{ lookup('pipe','pwgen 24 1' )}}"
- dest: ~/.vnc/passwd
- mode: 0600
- force: no
-
- - name: fetch vnc passwd
- fetch:
- src: ~/.vnc/passwd
- dest: ~/.vnc/passwd.{{inventory_hostname}}
- flat: yes
-
- - name: copy vnc passwd files
- copy:
- src: ~/.vnc/passwd.{{item}}
- dest: ~/.vnc/passwd.{{item}}
- with_items: "{{ home_access_to_hosts }}"
-
- - name: default vnc client options
- template:
- src: vnc/default.tigervnc.j2
- dest: ~/.vnc/default.tigervnc
- mode: 0755
-
- - name: vncserver user service
- template:
- src: vnc/vncserver.service.j2
- dest: ~/.config/systemd/user/vncserver@.service
- notify: systemd daemon-reload
|