mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
25 lines
564 B
YAML
Executable File
25 lines
564 B
YAML
Executable File
- name: Install vnc packages
|
|
ansible.builtin.apt:
|
|
name:
|
|
- tigervnc-standalone-server
|
|
- tigervnc-common
|
|
update_cache: yes
|
|
|
|
|
|
- name: Creating a file with content
|
|
copy:
|
|
dest: "/home/jd/.vnc/config"
|
|
content: |
|
|
session=cinnamon
|
|
geometry=1200x721
|
|
localhost
|
|
alwaysshared
|
|
|
|
- name: Reconfigure zabbix agent Server
|
|
ansible.builtin.lineinfile:
|
|
path: "/etc/tigervnc/vncserver.users"
|
|
regexp: "^:1=jd"
|
|
line: ":1=jd"
|
|
become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}"
|
|
|