ansible_public/playbooks/fast_fixes/add_whitney_to_etchosts.yaml

10 lines
270 B
YAML
Raw Permalink Normal View History

2022-06-14 18:53:16 +02:00
- hosts: '{{ variable_host | default("lab15_standard") }}'
gather_facts: no
ignore_unreachable: yes
become: true
tasks:
- name: Add whitney to /etc/hosts
lineinfile:
path: /etc/hosts
line: '156.17.9.28\twhitney.kcir.pwr.edu.pl\twhitney'