ansible_playbook_windows_ob.../group_vars/obs/vars.yml
2024-10-15 00:47:43 +02:00

73 lines
3.5 KiB
YAML

---
# user for ansible login
ansible_user: ansible
voc_user: obs
win_obs_init__user: "{{ voc_user }}"
# language options (important)
win_base_init__os_language: 'en'
win_obs_init__powerplan_enabled: true
win_obs_init_powerplan_mode: 'high performance'
# connect
ansible_connection: ssh
ansible_shell_type: "powershell"
ansible_winrm_server_cert_validation: ignore
ansible_pipelining: true
ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# credetials
gopass_password_prefix: 'chvoc/ansible/windows/'
win_base_init__created_user_password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/ansible create=true length=64 nosymbols=true') }}"
win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/' + voc_user + ' create=true length=8 nosymbols=true') }}"
# manage autologon
win_obs_init__autologon: true
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + voc_user) }}"
# users
win_sshd_otheruser: "{{ voc_user }}"
win_sshd_otheruserkeys: true
win_sshd_otherusepassword: "{{ win_obs_init__autologon_password }}"
win__special_rdp_user: "{{ voc_user }}"
win__allow_special_rdp_user: true
# windows product key
windows_product_key: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/productkey') }}"
# define obs szene
win_obs_szene__project: 'sps24'
# TODO: Artwork einfuegen, wenn verfuegbar!
win_obs_additional_dirs: ['obs-config']
wallpaper_path: 'C:\obs\{{ win_obs_szene__project }}\background.png'
win_obs_szene_files:
- src: 'https://git.l3d.ch/voc/winkekatze_background/media/branch/main/png/voctocat_winkekatze_background.png'
file: 'background.png'
- src: 'https://git.chaoswest.tv/python-summit/sps-video-backgrounds/raw/branch/renderings_2024/2024/rendered/background_fs_logo_plain.png'
file: 'sps24_logo.png'
- src: 'https://git.chaoswest.tv/python-summit/sps-video-backgrounds/raw/branch/renderings_2024/2024/rendered/background_pip_logo1a.png'
file: 'sps24_pip.png'
- src: 'https://git.chaoswest.tv/python-summit/sps-video-backgrounds/raw/branch/renderings_2024/2024/rendered/background_sbs_logo1a.png'
file: 'sps24_sbs_x2.png'
- src: 'https://git.chaoswest.tv/python-summit/sps-video-backgrounds/raw/branch/renderings_2024/2024/rendered/background_plain.png'
file: 'sps24_plain.png'
- src: 'https://git.chaoswest.tv/python-summit/sps-video-backgrounds/raw/branch/renderings_2024/2024/rendered/background_tbs_logo3a.png'
file: 'sps24_sbs_x3.png'
# - src: 'https://files.zerobyte.ch/files/hidden/dgwk22_music/luss%20dub%20techno%20session%205.mp3'
# file: 'wk24_background_music.mp3'
- src: "https://git.chaoswest.tv/winterkongress/wk24-obs-szene/raw/branch/main/obs-scene/obs-hall1.json"
file: 'wk24.json'
- src: 'https://git.chaoswest.tv/winterkongress/wk24-obs-szene/raw/branch/main/obs-profile/streamEncoder.json'
file: 'obs-config/streamEncoder.json'
- src: 'https://git.chaoswest.tv/winterkongress/wk24-obs-szene/raw/branch/main/obs-profile/service.json'
file: 'obs-config/service.json'
- src: 'https://git.chaoswest.tv/winterkongress/wk24-obs-szene/raw/branch/main/obs-profile/basic.ini'
file: 'obs-config/basic.ini'
win_streamdeck__download_icons: true
win_streamdeck__icons:
- src: 'https://git.chaoswest.tv/winterkongress/wk24-obs-szene/media/branch/main/WK24.streamDeckProfile'
file: 'WK24.streamDeckProfile'