ansible/roles/copr/backend/tasks/network.yml
2015-04-01 13:32:51 +00:00

9 lines
272 B
YAML

- name: copy ifcfg-eth1
template: src="ifcfg-eth1" dest=/etc/sysconfig/network-scripts/ owner=root group=root mode=644
notify:
- restart network
- name: set up gateway
lineinfile: dest=/etc/sysconfig/network line="GATEWAYDEV=eth0"
notify:
- restart network