Execution
Date 06 Jun 2024 13:06:11 +0100
Duration 00:00:02.50
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
5 Hosts
1 Tasks
5 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/zimbra/update_etc_hosts.yaml

---
- name: Playbook to update hosts
  hosts: all
  gather_facts: false
  tasks:
    - name: Update hosts file
      ansible.builtin.copy:
        src: hosts
        dest: /etc/
        force: true
        mode: '0644'
        owner: root
        group: root
        backup: true