Execution
Date 16 Sep 2024 10:09:25 +0100
Duration 00:00:03.72
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
2 Hosts
7 Tasks
7 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    CHANGED
  • Duration
    00:00:00.38
  • Play
    localhost
  • Task
    Save to file the json
  • Host
    localhost ( task delegated to 127.0.0.1 )

Field Value
backup

changed
True
diff
--- /home/ssh-gateway/ansible/kuly/crs.json (file attributes)

+++ /home/ssh-gateway/ansible/kuly/crs.json (file attributes)

@@ -1,3 +1,3 @@

 {
-    "mode": "0644"
+    "mode": "0640"
 }
invocation
{
    "module_args": {
        "attributes": null,
        "backrefs": false,
        "backup": false,
        "create": true,
        "firstmatch": false,
        "group": null,
        "insertafter": null,
        "insertbefore": null,
        "line": "{\n    \"data\": [\n        {\n            \"agent_port\": 8080,\n            \"capabilities\": {\n                \"is_management_node\": false,\n                \"is_mem_balloon_free_page_reporting_supported\": true,\n                \"is_virtio_discard_supported\": true,\n                \"kvm\": true,\n                \"vz\": false\n            },\n            \"host\": \"185.149.110.162\",\n            \"id\": 87,\n            \"ip_blocks\": [\n                {\n                    \"from\": \"185.149.110.165\",\n                    \"gateway\": \"185.149.110.161\",\n                    \"id\": 4,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-165-190\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.160/27\",\n                    \"reserved_ips_count\": 19,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.190\",\n                    \"total_ips_count\": \"185.149.110.165 - 185.149.110.190\",\n                    \"type\": \"IPv4\"\n                },\n                {\n                    \"from\": \"185.149.110.194\",\n                    \"gateway\": \"185.149.110.193\",\n                    \"id\": 3,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-194-222\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.192/27\",\n                    \"reserved_ips_count\": 21,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.222\",\n                    \"total_ips_count\": \"185.149.110.194 - 185.149.110.222\",\n                    \"type\": \"IPv4\"\n                },\n                {\n                    \"from\": \"2a0d:da00:9::\",\n                    \"gateway\": \"2a0d:da00:9::1\",\n                    \"id\": 2,\n                    \"list_type\": \"range\",\n                    \"name\": \"ipv6-block-for-tests\",\n                    \"netmask\": null,\n                    \"ns_1\": \"2620:119:35::35\",\n                    \"ns_2\": \"2620:119:53::53\",\n                    \"range\": \"2a0d:da00:9::/48\",\n                    \"reserved_ips_count\": 28,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"9.0.0.0.0.0.a.d.d.0.a.2.ip6.arpa\"\n                    },\n                    \"subnet\": 64,\n                    \"to\": \"2a0d:da00:9:ffff:ffff:ffff:ffff:ffff\",\n                    \"total_ips_count\": \"2a0d:da00:9::/48\",\n                    \"type\": \"IPv6\"\n                },\n                {\n                    \"from\": \"185.149.110.150\",\n                    \"gateway\": \"185.149.110.129\",\n                    \"id\": 1,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-150-158\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.144/28\",\n                    \"reserved_ips_count\": 6,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.158\",\n                    \"total_ips_count\": \"185.149.110.150 - 185.149.110.158\",\n                    \"type\": \"IPv4\"\n                }\n            ],\n            \"is_locked\": false,\n            \"locations\": [\n                {\n                    \"description\": \"Manchester 1 devel and testing nodes\",\n                    \"icon\": {\n                        \"id\": 342,\n                        \"name\": \"United Kingdom\",\n                        \"type\": \"flags\",\n                        \"url\": \"https://solus.stage.town/shared/icons/flags/united-kingdom.svg\"\n                    },\n                    \"id\": 1,\n                    \"is_default\": true,\n                    \"is_visible\": true,\n                    \"name\": \"MAN1-testing-nodes\",\n                    \"position\": 1\n                }\n            ],\n            \"metrics\": {\n                \"network\": {\n                    \"ipv6_available\": false\n                }\n            },\n            \"name\": \"kvm2-dev.stage.town\",\n            \"settings\": {\n                \"arch\": \"x86_64\",\n                \"backup_tmp_path\": \"/usr/local/solus/tmp/backups/\",\n                \"balance_strategy\": \"most-storage-available\",\n                \"cache_path\": \"/usr/local/solus/cache/\",\n                \"concurrent_backups\": {\n                    \"create\": 1,\n                    \"restore\": 1\n                },\n                \"iso_path\": \"/usr/local/solus/iso_images/\",\n                \"limits\": {\n                    \"hdd\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 1800\n                    },\n                    \"ram\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 142808711168\n                    },\n                    \"vcpu\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 65\n                    },\n                    \"vm\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 24\n                    }\n                },\n                \"network\": {\n                    \"bridges\": [\n                        {\n                            \"name\": \"br-int\",\n                            \"type\": \"bridged\"\n                        },\n                        {\n                            \"name\": \"br-routed\",\n                            \"type\": \"routed\"\n                        }\n                    ],\n                    \"ip_for_vpc_network\": null,\n                    \"type\": \"bridged\"\n                },\n                \"virtualization_types\": [\n                    \"kvm\"\n                ],\n                \"vnc_proxy_port\": 7778,\n                \"vs_disk_cache_mode\": null\n            },\n            \"status\": \"active\",\n            \"storages\": [\n                {\n                    \"credentials\": null,\n                    \"free_space\": 189.53,\n                    \"id\": 82,\n                    \"is_available_for_balancing\": true,\n                    \"mount\": \"/\",\n                    \"name\": null,\n                    \"path\": \"/var/lib/libvirt/images/\",\n                    \"thin_pool\": null,\n                    \"type\": {\n                        \"formats\": [\n                            \"raw\",\n                            \"qcow2\"\n                        ],\n                        \"name\": \"fb\"\n                    }\n                }\n            ],\n            \"version\": \"2.0.0-34984\",\n            \"vms_count\": 11\n        },\n        {\n            \"agent_port\": 8080,\n            \"capabilities\": {\n                \"is_management_node\": false,\n                \"is_mem_balloon_free_page_reporting_supported\": true,\n                \"is_virtio_discard_supported\": true,\n                \"kvm\": true,\n                \"vz\": false\n            },\n            \"host\": \"185.149.110.130\",\n            \"id\": 86,\n            \"ip_blocks\": [\n                {\n                    \"from\": \"185.149.110.165\",\n                    \"gateway\": \"185.149.110.161\",\n                    \"id\": 4,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-165-190\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.160/27\",\n                    \"reserved_ips_count\": 19,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.190\",\n                    \"total_ips_count\": \"185.149.110.165 - 185.149.110.190\",\n                    \"type\": \"IPv4\"\n                },\n                {\n                    \"from\": \"185.149.110.194\",\n                    \"gateway\": \"185.149.110.193\",\n                    \"id\": 3,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-194-222\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.192/27\",\n                    \"reserved_ips_count\": 21,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.222\",\n                    \"total_ips_count\": \"185.149.110.194 - 185.149.110.222\",\n                    \"type\": \"IPv4\"\n                },\n                {\n                    \"from\": \"2a0d:da00:9::\",\n                    \"gateway\": \"2a0d:da00:9::1\",\n                    \"id\": 2,\n                    \"list_type\": \"range\",\n                    \"name\": \"ipv6-block-for-tests\",\n                    \"netmask\": null,\n                    \"ns_1\": \"2620:119:35::35\",\n                    \"ns_2\": \"2620:119:53::53\",\n                    \"range\": \"2a0d:da00:9::/48\",\n                    \"reserved_ips_count\": 28,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"9.0.0.0.0.0.a.d.d.0.a.2.ip6.arpa\"\n                    },\n                    \"subnet\": 64,\n                    \"to\": \"2a0d:da00:9:ffff:ffff:ffff:ffff:ffff\",\n                    \"total_ips_count\": \"2a0d:da00:9::/48\",\n                    \"type\": \"IPv6\"\n                },\n                {\n                    \"from\": \"185.149.110.150\",\n                    \"gateway\": \"185.149.110.129\",\n                    \"id\": 1,\n                    \"list_type\": \"range\",\n                    \"name\": \"block-150-158\",\n                    \"netmask\": \"255.255.255.224\",\n                    \"ns_1\": \"1.1.1.1\",\n                    \"ns_2\": \"8.8.8.8\",\n                    \"range\": \"185.149.110.144/28\",\n                    \"reserved_ips_count\": 6,\n                    \"reverse_dns\": {\n                        \"enabled\": true,\n                        \"template\": \"\",\n                        \"zone\": \"110.149.185.in-addr.arpa\"\n                    },\n                    \"subnet\": null,\n                    \"to\": \"185.149.110.158\",\n                    \"total_ips_count\": \"185.149.110.150 - 185.149.110.158\",\n                    \"type\": \"IPv4\"\n                }\n            ],\n            \"is_locked\": false,\n            \"locations\": [\n                {\n                    \"description\": \"Manchester 1 devel and testing nodes\",\n                    \"icon\": {\n                        \"id\": 342,\n                        \"name\": \"United Kingdom\",\n                        \"type\": \"flags\",\n                        \"url\": \"https://solus.stage.town/shared/icons/flags/united-kingdom.svg\"\n                    },\n                    \"id\": 1,\n                    \"is_default\": true,\n                    \"is_visible\": true,\n                    \"name\": \"MAN1-testing-nodes\",\n                    \"position\": 1\n                }\n            ],\n            \"metrics\": {\n                \"network\": {\n                    \"ipv6_available\": false\n                }\n            },\n            \"name\": \"kvm1-dev.stage.town\",\n            \"settings\": {\n                \"arch\": \"x86_64\",\n                \"backup_tmp_path\": \"/usr/local/solus/tmp/backups/\",\n                \"balance_strategy\": \"most-storage-available\",\n                \"cache_path\": \"/usr/local/solus/cache/\",\n                \"concurrent_backups\": {\n                    \"create\": 1,\n                    \"restore\": 1\n                },\n                \"iso_path\": \"/usr/local/solus/iso_images/\",\n                \"limits\": {\n                    \"hdd\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 895\n                    },\n                    \"ram\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 77309411328\n                    },\n                    \"vcpu\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 56\n                    },\n                    \"vm\": {\n                        \"total\": 0,\n                        \"unlimited\": true,\n                        \"used\": 15\n                    }\n                },\n                \"network\": {\n                    \"bridges\": [\n                        {\n                            \"name\": \"br-int\",\n                            \"type\": \"bridged\"\n                        },\n                        {\n                            \"name\": \"br-routed\",\n                            \"type\": \"routed\"\n                        }\n                    ],\n                    \"ip_for_vpc_network\": null,\n                    \"type\": \"bridged\"\n                },\n                \"virtualization_types\": [\n                    \"kvm\"\n                ],\n                \"vnc_proxy_port\": 7778,\n                \"vs_disk_cache_mode\": null\n            },\n            \"status\": \"active\",\n            \"storages\": [\n                {\n                    \"credentials\": null,\n                    \"free_space\": 187.27,\n                    \"id\": 81,\n                    \"is_available_for_balancing\": true,\n                    \"mount\": \"/\",\n                    \"name\": null,\n                    \"path\": \"/var/lib/libvirt/images/\",\n                    \"thin_pool\": null,\n                    \"type\": {\n                        \"formats\": [\n                            \"raw\",\n                            \"qcow2\"\n                        ],\n                        \"name\": \"fb\"\n                    }\n                }\n            ],\n            \"version\": \"2.0.0-34984\",\n            \"vms_count\": 16\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://solus.stage.town/api/v1/compute_resources?page=1\",\n        \"last\": \"https://solus.stage.town/api/v1/compute_resources?page=1\",\n        \"next\": null,\n        \"prev\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"active\": false,\n                \"label\": \"« Previous\",\n                \"url\": null\n            },\n            {\n                \"active\": true,\n                \"label\": \"1\",\n                \"url\": \"https://solus.stage.town/api/v1/compute_resources?page=1\"\n            },\n            {\n                \"active\": false,\n                \"label\": \"Next »\",\n                \"url\": null\n            }\n        ],\n        \"path\": \"https://solus.stage.town/api/v1/compute_resources\",\n        \"per_page\": 50,\n        \"to\": 2,\n        \"total\": 2\n    }\n}",
        "mode": 416,
        "owner": null,
        "path": "/home/ssh-gateway/ansible/kuly/crs.json",
        "regexp": null,
        "search_string": null,
        "selevel": null,
        "serole": null,
        "setype": null,
        "seuser": null,
        "state": "present",
        "unsafe_writes": false,
        "validate": null
    }
}
msg
line added and ownership, perms or SE linux context changed