14 lines
237 B
YAML
14 lines
237 B
YAML
|
---
|
||
|
|
||
|
- hosts: all
|
||
|
tasks:
|
||
|
- name: Copy /etc/resolv.conf
|
||
|
become: yes
|
||
|
become_user: root
|
||
|
copy:
|
||
|
src: /etc/resolv.conf
|
||
|
dest: /etc/resolv.conf
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: '0644'
|