Skip to content

Commit

Permalink
Merge pull request thisismitch#2 from strobe/wip--hosts-file-fix
Browse files Browse the repository at this point in the history
fix for "ensure tinc hosts file binds to physical ip address" task
  • Loading branch information
tstapler committed Oct 23, 2017
2 parents 28fb629 + b1dc039 commit c77ef77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/tinc/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
lineinfile: >
dest=/etc/tinc/{{ netname }}/hosts/{{ inventory_hostname }}
line="Address = {{ physical_ip }}"
regexp="Address = \d+.\d+.\d+.\d+"
create=yes
notify:
- restart tinc
Expand Down

0 comments on commit c77ef77

Please sign in to comment.