Fix interface. Add codydev and ns to hosts. Skip host key checking.

This commit is contained in:
2018-03-16 16:41:42 -04:00
parent fa3ecbad9c
commit f6ce724c83
3 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
- name: Copy interface cfg file
vars:
interface_name: eth0
template: src=../roles/configure-interfaces/templates/eth.cfg.j2 dest=/etc/network/interfaces.d/'{{ interface_name }}'.cfg
template: src=../roles/configure-interfaces/templates/eth.cfg.j2 dest=/etc/network/interfaces.d/{{ interface_name }}.cfg
- name: Up down interface
raw: ifdown {{ interface_name }} && ifup {{ interface_name }}