Skip to content

Commit

Permalink
Trimmed some extra fields off a task to reduce complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
akrzos committed Sep 5, 2024
1 parent 1fa595e commit 9f6962d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ansible/roles/hv-coredns/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@
state: directory

- name: Copy the Corefile.hosts file from bastion to hypervisors
tags: sync-pull
synchronize:
src: "{{ item }}"
dest: "{{ item }}"
src: /etc/coredns/Corefile.hosts
dest: /etc/coredns/Corefile.hosts
delegate_to: "{{groups['bastion'][0]}}"
register: syncfile
with_items:
- "/etc/coredns/Corefile.hosts"

- name: Configure Coredns / NetworkManager
template:
Expand Down

0 comments on commit 9f6962d

Please sign in to comment.