您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- ---
-
- - 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: tigervnc.default.j2
- dest: ~/.vnc/default.tigervnc
- mode: 0755
|