ansible_playbook_windows_ob.../group_vars/obs/vars.yml
2024-02-26 01:20:03 +01:00

76 lines
3.6 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: 'wk24'
# 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://files.chvoc.ch/dgwk24/design/logo_huge.png'
file: 'wk24_logo.png'
- src: 'https://files.chvoc.ch/dgwk24/design/picture_in_picture.png'
# - src: 'https://git.chaoswest.tv/winterkongress/wk23-obs-szene/media/branch/main/schema/background_schema_pip.png'
file: 'wk24_pip.png'
- src: 'https://files.chvoc.ch/dgwk24/design/side_by_side.png'
# - src: 'https://git.chaoswest.tv/winterkongress/wk23-obs-szene/media/branch/main/schema/background_schema_sbs.png'
file: 'wk24_sbs_x2.png'
- src: 'https://files.chvoc.ch/dgwk24/design/plain.png'
file: 'wk24_plain.png'
- src: 'https://files.chvoc.ch/dgwk24/design/three_side_by_side.png'
# - src: 'https://git.chaoswest.tv/winterkongress/wk23-obs-szene/media/branch/main/schema/background_schema_3sources.png'
file: 'wk24_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/src/branch/main/obs-scene/{{ inventory_hostname }}.json
file: 'wk24-{{ inventory_hostname }}.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/raw/branch/main/WK24.streamDeckProfile'
file: 'WK24.streamDeckProfile'