File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed
infra/ansible/roles/knot_authoritative/tasks Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1212permissions : read-all
1313
1414jobs :
15- # deploy_jon:
16- # name: Deploy to jon
17- # uses: ./.github/workflows/deploy_dns_environment.yaml
18- # with:
19- # environment: dev_jon
20- # secrets: inherit
21- # if: github.ref == 'refs/heads/main'
15+ deploy_jon :
16+ name : Deploy to jon
17+ uses : ./.github/workflows/deploy_dns_environment.yaml
18+ with :
19+ environment : dev_jon
20+ secrets : inherit
21+ if : github.ref == 'refs/heads/main'
2222
2323 deploy_sn11_prod :
2424 name : Deploy to sn11 prod
2525 uses : ./.github/workflows/deploy_dns_environment.yaml
26- # needs: deploy_jon
26+ needs : deploy_jon
2727 with :
2828 environment : prod_sn11
2929 secrets : inherit
30- # if: github.ref == 'refs/heads/main'
30+ if : github.ref == 'refs/heads/main'
3131
3232 deploy_sn10_prod :
3333 name : Deploy to sn10 prod
@@ -36,12 +36,12 @@ jobs:
3636 with :
3737 environment : prod_sn10
3838 secrets : inherit
39- # if: github.ref == 'refs/heads/main'
39+ if : github.ref == 'refs/heads/main'
4040
4141 deploy_sn3_prod :
4242 name : Deploy to sn3 prod
4343 uses : ./.github/workflows/deploy_dns_environment.yaml
44- needs : deploy_sn10_prod
44+ # needs: deploy_sn10_prod
4545 with :
4646 environment : prod_sn3
4747 secrets : inherit
Original file line number Diff line number Diff line change 3636 - dnsutils
3737 - knot=3.4.6-cznic.1~bookworm
3838
39+ - name : Add WN
40+ ansible.posix.authorized_key :
41+ user : debian
42+ state : present
43+ key : " ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBTf39rln9Gn4+xAq55izTsHaLrvwxe0KxdLdqN8AHV5 wilnil@willardpad"
44+
45+ - name : Add AD
46+ ansible.posix.authorized_key :
47+ user : debian
48+ state : present
49+ key : " ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINqMvlwLFwGENT5WMjytI2iwVlHPV2TX+gOgBXj9kw4k andrew@localhost"
50+
3951- name : Knot DNS Config
4052 ansible.builtin.template :
4153 src : knot.conf.j2
You can’t perform that action at this time.
0 commit comments