fix issue
This commit is contained in:
parent
6664342be4
commit
b3d90a28a7
@ -29,12 +29,12 @@
|
||||
|
||||
|
||||
- debug:
|
||||
msg: "{{ ansible_default_ipv4.interface }}"
|
||||
msg: "{{ ansible_default_ipv4.type }}"
|
||||
|
||||
- name: set bridge template
|
||||
template:
|
||||
dest: /etc/netctl/bridge # required. Location to render the template to on the remote machine.
|
||||
src: bridge.j2 # required. Path of a Jinja2 formatted template on the Ansible controller. This can be a relative or absolute path.
|
||||
when: ansible_default_ipv4.interface is match("e*")
|
||||
when: ansible_default_ipv4.type == "ether"
|
||||
become: yes
|
||||
notify: bridge_enable
|
Loading…
Reference in New Issue
Block a user