adding task to update /etc/hosts if required

This commit is contained in:
mgodoy
2021-01-20 14:04:43 -03:00
parent 02dc7b81cc
commit 774a027d8f
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -2,6 +2,15 @@
#
# Download and install Zimbra OSE
################################################################################
- name: Update /etc/hosts
lineinfile:
path: /etc/hosts
line: "{{ item }}"
state: present
with_items: "{{ hosts_lines }}"
when: hosts_lines is defined
- name: Download and unpacking Zimbra OSE
unarchive:
validate_certs: no