update linting

This commit is contained in:
L3D 2022-12-28 17:29:41 +01:00
parent 7c30f1aa63
commit a000515372
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
---
- name: fail if win_obs_init__autologon_password unset
- name: Fail if win_obs_init__autologon_password unset
ansible.builtin.fail:
msg: "Please define a password for 'win_obs_init__autologon_password'!"
when: win_obs_init__autologon_password == 'pleaseDefine'

View file

@ -1,14 +1,14 @@
---
- name: create OBS User
- name: Create OBS User
ansible.builtin.include_tasks: obs_user.yml
- name: install some obs specific packages
- name: Install some obs specific packages
ansible.builtin.include_tasks: packages.yml
- name: optionally autologon to obs user
- name: Optionally autologon to obs user
ansible.builtin.include_tasks: autologon.yml
when: win_obs_init__autologon | bool
- name: "change the power plan to {{ win_obs_init_powerplan_mode }}"
- name: "Change the power plan to {{ win_obs_init_powerplan_mode }}"
ansible.builtin.include_tasks: powerplan.yml
when: win_obs_init__powerplan_enabled | bool

View file

@ -1,10 +1,10 @@
---
- name: fail if win_obs_init__password is unset
- name: Fail if win_obs_init__password is unset
ansible.builtin.fail:
msg: "Please define a password for 'win_obs_init__password'!"
when: win_obs_init__password == 'changeME'
- name: create OBS User
- name: Create OBS User
ansible.windows.win_user:
name: 'obs'
state: present

View file

@ -1,9 +1,9 @@
---
- name: change the power plan to high performance
- name: Change the power plan to high performance
community.windows.win_power_plan:
name: "{{ win_obs_init_powerplan_mode }}"
- name: "apply custom powerplan poweshell script as {{ win_obs_init__user }}"
- name: "Apply custom powerplan poweshell script as {{ win_obs_init__user }}"
ansible.windows.win_powershell:
script: |
Write-Host "Disabling Screensaver"