Execution
Date 15 Apr 2026 10:05:57 +0100
Duration 00:00:23.68
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.13
ara 1.7.5 / 1.7.5
Python 3.10.10
Summary
22 Hosts
2 Tasks
44 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/zz-disperse-clean-image.yaml

---
- name: Playbook to upload scripts files
  hosts: all
  gather_facts: false
  tasks:
    - name: Rename
      ansible.builtin.shell: |
        set -o pipefail
        mv /root/clean-image.sh /root/clean-image.sh-back-$(date +%s)
      args:
        executable: /bin/bash
      changed_when: false
    - name: Upload the file
      ansible.builtin.copy:
        src: clean-image.sh
        dest: /root/clean-image.sh
        mode: '0755'
        backup: true
      changed_when: false