Solaris and Linux
Friday, August 13, 2021
How to Preserv /etc/resolv.conf file after the reboot.
---
- hosts: all
become: yes
tasks:
- name: To preserve the /etc/resolv.conf entry
command : chattr +i /etc/resolv.conf
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment