playbook rol hosts
This commit is contained in:
parent
43f2f82066
commit
a58018e849
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- hosts: '{{ ip_addr }}'
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
gather_facts: yes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: "[CONFIG HOSTS FILE] Configure hosts file"
|
||||||
|
import_role:
|
||||||
|
name: config-hosts
|
Loading…
Reference in New Issue