Execution
Date 10 Sep 2024 16:58:32 +0100
Duration 00:00:03.96
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
2 Hosts
3 Tasks
3 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/dump_vars.yaml

---
- name: Dump the hostvars
  hosts: "{{ target|default('localhost') }}"
  tasks:
    - name: Get the facts
      ansible.legacy.setup:
    - name: Dump the facts
      ansible.builtin.copy:
        content: "{{ hostvars[inventory_hostname] | to_nice_json }}"
        dest: /tmp/setup-dump.json
        mode: '0644'
      delegate_to: localhost
      run_once: true