Another dirty playbook. #2
9
hugin_in_etc_hosts.yml
Normal file
9
hugin_in_etc_hosts.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Add hugin to /etc/hosts
|
||||
ansible.builtin.lineinfile:
|
||||
line: '195.169.22.139 hugin'
|
||||
path: /etc/hosts
|
||||
state: present
|
||||
delegate_to: 127.0.0.1
|
Loading…
Reference in New Issue
Block a user