vn-ansible/linux-config-hosts.yaml

13 lines
198 B
YAML
Raw Normal View History

2024-02-14 14:51:54 +00:00
---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: yes
tasks:
- name: "[CONFIG HOSTS FILE] Configure hosts file"
import_role:
name: config-hosts