Another dirty playbook. #2

Merged
B.E. Droge merged 1 commits from egon into master 2022-07-08 15:08:37 +02:00
1 changed files with 9 additions and 0 deletions

9
hugin_in_etc_hosts.yml Normal file
View 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