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
commands:
- |
yamllint -d "{extends: relaxed}" scripts
yamllint -d "{extends: relaxed, rules: {line-length: disable}}" scripts
- |
packer validate \
-var-file=packer/variables.vsphere.json \

View File

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

View File

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

View File

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

View File

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

View File

@ -24,4 +24,4 @@ Variables:
(Resolve-DnsName -Name $Parameter['addsconfig.domainname'] | Sort-Object)[0].IPAddress
- Name: secondarydc
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:
# - Name: foo
# Expression: |
# Write-Host 'bar'
# Write-Host 'bar'

View File

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

View File

@ -33,4 +33,5 @@ RegistryEntries:
Variables:
- Name: addsconfig.ntpserver
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
Type: DWord
ValueName: WebPublish
Value: 1
Value: 1

View File

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