reordered block

This commit is contained in:
2024-07-22 16:56:00 +02:00
parent a8b67bf4ad
commit eb64bb5296
4 changed files with 55 additions and 55 deletions

View File

@@ -1,30 +1,30 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
37383534363833313365646162356162393162353533633465653562333966393639343563386263 37623231323337643262313535353365666336346530326262633831333230303838343639623239
3237356238656534663930306564386261653834393066320a346332353634393530376465326633 6236376565363635633362626465383334323966303930340a363162386161653035363264313861
32343030636166616166346136613537656531363435393738663735393133653735383066656639 31616565633638633531623932303264386638363161363366386265333661373965666564306461
3830393366306231640a343563633261666566303161393064373536353265626435303763653164 6565613533343734350a393330306162626633666531326334613764313162323833646235396361
65656436383361623132323963613235323761636263323361666664653037393935613037323666 66386564373561366364663239613566303238333735633362663936636566643033656331646266
30633738363464373535313433376337633066383034653233393963393364343535303532386265 35636462393831663933353535373732373862383739613930393665616138313263383766343738
37366431646266326238336133656332363961366436636462363031316361303831363739373435 38383431636461636139363436663962656131363239303134396632323838653362353738653733
39396436323962373139613239316339633835373063626361396231386461643163656166313731 30643435346565303463653035656637653030636564303736393962333230633935306237366231
64316434386332313639626431323835323231643135346465663839646666613536633335623532 30653331346335373931666632346466643266633561663830643739353530633131393163656138
61356565343737396436326135663336613834386561343031623665666533303837643261323930 31613061633633646130646339386561386539356533393966316433353030626463363532663764
61386563326139616165616263613537623635666633363563386633653737663966313732396263 65363965303538303161306666373462356336643832343138636663616436356635653464333233
36653837316665623937323663396336303237323935383436353234666636666135383361663063 38303938393665353562343436626338333934303162643063623862323534393262343432336634
62633964343264336236616130396164613731636135653833623536396164353439313934626439 39353639626337373331616261303762333938386366633634393961626135613837303435313164
34633236356261336538653732643431346137333761303132353233386531613839393839633335 37333230313466373831373738313131666631613234383165333931336565646635306136363238
33323230326133323766346366356266333834306366663434643339653033363036316665313261 33386433323561353838353063653034613933636665333734343133623261626263313631336434
33646432373837656135343935383635363434306432643832373966393166303162656134346338 35386262623733666364633366626630353835376131663535316666633363346565303433623061
35343430333439346462636634356132373262313535646164306133396662373262333732303965 36663165633039326230356538336265666336346132383935663963633661336431313830316666
35363734616333333364636463323761353537643766366362653936653266343138663730373261 32623430333433633266323437626630613461313764383230666230343963306266306138333436
31376561633830653239383064613062306430316331333763613762336664376436646232343134 38656631336232356461343362663533386165633763366136376330316330303530336538643739
33353464613262356362346339393865383565626462623735393862663361656437316530363439 65336333383363343839366536643835353235613665636530393565633234633930653030313830
39626438623732613265663639376366663635666436316237373330383264643538323563663334 66656439636166656364356130333761333634386130353636646464346464373239616637623963
30333135326666376161383462333763326666646536386334303631623534653533383537666166 32316330393330346133613763636237656463656363386439623964633564356564663132346233
35373538303038393932646261653762353465636235393065343636353439303566383735626131 34373138663065303363666466333638376561613838646164373334383630323032386165613234
61316236313562326636343563333034643461373136363763316263346464396561626664363765 62636530356665336333376263346130653637373665303136333437363062633831323433643432
37343036333062323735336136306230373030313762336231623863343830316365356135636438 33643238383230373461333735623833336134383233663630363431613366306533393164626666
62333262616563383332646232356463343031383135356166383137373230336461613161313339 37643334313965333461636433343331366639353838386630623533383864353663646433363430
65666538643632326239316532346563353137323564383834333730616335373166393138376432 65393437353031393235613933393236356637646334656261616135323533313238306536366561
61316135313435323165653762653435616463643066353739323861666532626263353364306330 35346531346431643038383431336463653165656230346265373463383462396437623563626438
66613934383138643230653736316166626463363963333933313731623063303939 65653432336538346237383461386336636665303866613664653765393539656134

View File

@@ -2,11 +2,11 @@
- include_vars: "{{ ansible_distribution | lower }}.yml" - include_vars: "{{ ansible_distribution | lower }}.yml"
tags: always tags: always
- block:
- block: - block:
- name: nameserver | unbound | install and configure - name: nameserver | unbound | install and configure
include_tasks: install_unbound.yml block:
include_tasks: configure_unbound_snmpd.yml - include_tasks: install_unbound.yml
- include_tasks: configure_unbound_snmpd.yml
when: when:
- unbound is defined - unbound is defined
- unbound == true - unbound == true
@@ -16,19 +16,19 @@
include_tasks: disable-systemd-resolved.yml include_tasks: disable-systemd-resolved.yml
when: bind == true or unbound == true or powerdns_recursor == true when: bind == true or unbound == true or powerdns_recursor == true
- block:
- name: nameserver | bind | install and configure - name: nameserver | bind | install and configure
include_tasks: install_bind.yml block:
include_tasks: configure_bind_snmpd.yml - include_tasks: install_bind.yml
- include_tasks: configure_bind_snmpd.yml
when: when:
- bind is defined - bind is defined
- bind == true - bind == true
- powerdns_auth is not defined or powerdns_auth == false - powerdns_auth is not defined or powerdns_auth == false
- block:
- name: nameserver | powerdns-recursor | install and configure - name: nameserver | powerdns-recursor | install and configure
include_tasks: install_powerdns_recursor.yml block:
include_tasks: configure_powerdns_recursor_snmpd.yml - include_tasks: install_powerdns_recursor.yml
- include_tasks: configure_powerdns_recursor_snmpd.yml
when: when:
- powerdns_recursor is defined - powerdns_recursor is defined
- powerdns_recursor == true - powerdns_recursor == true