Apply the igb1 address
authorKristof Provost <kp@FreeBSD.org>
Tue, 30 Apr 2024 08:28:59 +0000 (10:28 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 30 Apr 2024 08:28:59 +0000 (10:28 +0200)
commit82635c31356a7fe6aa107360591d77129fa8c4f0
tree6c76e5dd958467903449400dcb18e76475e621a6
parent2128a0170fefec8a5133c9f4779ddb0f33305531
Apply the igb1 address

Use a notification handler to actually apply the address (and force it to run
immediately). This fixes the first startup of dhcpd, because dhcpd wants the
relevant IP on the relevant interface before it'll work.
ansible/roles/router/handlers/main.yaml [new file with mode: 0644]
ansible/roles/router/tasks/main.yaml