mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
10 lines
268 B
YAML
10 lines
268 B
YAML
- name: copy ifcfg-eth1
|
|
copy: 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
|