Fix yamllint errors;change yamllint config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-04-09 11:24:46 +02:00
parent 632caa89ef
commit 280d3e2258
11 changed files with 12 additions and 11 deletions

View File

@ -8,7 +8,7 @@ steps:
pull: always pull: always
commands: commands:
- | - |
yamllint -d "{extends: relaxed}" scripts yamllint -d "{extends: relaxed, rules: {line-length: disable}}" scripts
- | - |
packer validate \ packer validate \
-var-file=packer/variables.vsphere.json \ -var-file=packer/variables.vsphere.json \

View File

@ -11,7 +11,6 @@ Users:
- DistinguishedName: CN=zzLDAP,OU=Service accounts,OU=Privileged,OU=User accounts - DistinguishedName: CN=zzLDAP,OU=Service accounts,OU=Privileged,OU=User accounts
Password: "{{ password.zzldap }}" Password: "{{ password.zzldap }}"
MemberOf: [] MemberOf: []
--- ---
Variables: Variables:
- Name: password.janedoe - Name: password.janedoe

View File

@ -62,4 +62,4 @@ FirewallProfiles:
# Variables: # Variables:
# - Name: foo # - Name: foo
# Expression: | # Expression: |
# Write-Host 'bar' # Write-Host 'bar'

View File

@ -62,4 +62,4 @@ FirewallProfiles:
# Variables: # Variables:
# - Name: foo # - Name: foo
# Expression: | # Expression: |
# Write-Host 'bar' # Write-Host 'bar'

View File

@ -62,4 +62,4 @@ FirewallProfiles:
# Variables: # Variables:
# - Name: foo # - Name: foo
# Expression: | # Expression: |
# Write-Host 'bar' # Write-Host 'bar'

View File

@ -24,4 +24,4 @@ Variables:
(Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[0].IPAddress (Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[0].IPAddress
- Name: secondarydc - Name: secondarydc
Expression: | Expression: |
(Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[1].IPAddress (Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[1].IPAddress

View File

@ -6,4 +6,4 @@
# Variables: # Variables:
# - Name: foo # - Name: foo
# Expression: | # Expression: |
# Write-Host 'bar' # Write-Host 'bar'

View File

@ -16,4 +16,4 @@ RegistryEntries:
- Key: HKLM\Software\Policies\Microsoft\Windows\System - Key: HKLM\Software\Policies\Microsoft\Windows\System
Type: Dword Type: Dword
ValueName: UserPolicyMode ValueName: UserPolicyMode
Value: 2 Value: 2

View File

@ -33,4 +33,5 @@ RegistryEntries:
Variables: Variables:
- Name: addsconfig.ntpserver - Name: addsconfig.ntpserver
Expression: | Expression: |
($Parameter['addsconfig.ntpserver'] -split ',' | ForEach-Object {'{0},0x1' -f $_}) -join ' ' ($Parameter['addsconfig.ntpserver'] -split ',' | ForEach-Object {'{0},0x1' -f $_}) -join ' '

View File

@ -113,4 +113,5 @@ RegistryEntries:
- Key: HKLM\Software\Policies\Microsoft\WindowsMovieMaker - Key: HKLM\Software\Policies\Microsoft\WindowsMovieMaker
Type: DWord Type: DWord
ValueName: WebPublish ValueName: WebPublish
Value: 1 Value: 1

View File

@ -11,4 +11,4 @@ Password:
Length: Length:
Minimum: 10 Minimum: 10
History: 0 History: 0
ReversibleEncryption: False ReversibleEncryption: False