Skip to content

Commit

Permalink
change some pipelines v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Jan 3, 2024
1 parent 8bb83f9 commit 51b94d0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions playbooks/vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@
# vars:
# hosts_to_deploy: vms

# - name: Provision DNS1
# hosts:
# - dns1
# become: true
# roles:
# - servers/network-static-dns
# - apps/docker
# - servers/apps/coredns
# - servers/apps/letsencrypt-coredns
- name: Provision DNS1
hosts:
- dns1
become: true
roles:
- servers/network-static-dns
- apps/docker
- servers/apps/coredns
- servers/apps/letsencrypt-coredns

# - name: Provision DNS2
# hosts:
# - dns2
# become: true
# roles:
# - servers/network-static-dns
# - apps/docker
# - servers/apps/adguard-home
- name: Provision DNS2
hosts:
- dns2
become: true
roles:
- servers/network-static-dns
- apps/docker
- servers/apps/adguard-home

# - name: Provision GW1
# hosts:
Expand Down
2 changes: 1 addition & 1 deletion roles/servers/apps/letsencrypt-coredns/tasks/cert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
when: le_challenge.changed

- name: Check if DNS records propagated
shell: dig @127.0.0.1 -i txt {{ item.value['dns-01'].record }} | grep -w "{{ item.value['dns-01'].resource_value }}"
shell: dig @127.0.0.1 -i txt {{ item.value['dns-01'].record }} | grep -w -- "{{ item.value['dns-01'].resource_value }}"
loop: "{{ le_challenge.challenge_data | dict2items }}"
retries: 5
changed_when: false
Expand Down

0 comments on commit 51b94d0

Please sign in to comment.