- ---
- - name: "Add line in hosts file to point ***CONTENTS REDACTED*** to ***CONTENTS REDACTED***"
- hosts: all
- gather_facts: True
- become: true
- tasks:
- - name: "line entry into /etc/hosts"
- lineinfile:
- path: "/etc/hosts"
- line: "***CONTENTS REDACTED***"
- state: present
- backup: yes
|