- name: Install 10-isp.network.
become: yes
copy:
- src: ../private/isp.network
+ src: ../private/gate-isp.network
dest: /etc/systemd/network/10-isp.network
force: no
notify: Reload networkd.
not already exist so that it can be easily modified to debug a new
campus ISP without interference from Ansible.
-The following example =isp.network= file recognizes an Ethernet
+The following example =gate-isp.network= file recognizes an Ethernet
interface by its MAC address.
-#+CAPTION: [[file:private/isp.network][=private/isp.network=]]
-#+BEGIN_SRC conf :tangle private/isp.network :tangle-mode u=rw,g=,o=
+#+CAPTION: [[file:private/gate-isp.network][=private/gate-isp.network=]]
+#+BEGIN_SRC conf :tangle private/gate-isp.network :tangle-mode u=rw,g=,o=
[Match]
MACAddress=08:00:27:3d:42:e5
- name: Install 10-isp.network.
become: yes
copy:
- src: ../private/isp.network
+ src: ../private/gate-isp.network
dest: /etc/systemd/network/10-isp.network
force: no
notify: Reload networkd.