skip to Main Content

merge 2 json arrays using ansible or jq

So I have 2 json array files one with some simple data (could be any number of servers): [ { "playbook": "simplerun.yml", "server": "abc", "status": "success" }, { "playbook": "simplerun.yml", "server": "def", "status": "success" } etc ] and a master…

VIEW QUESTION

Rebooting an Azure VM within an ansible playbook

I've an inventory that looks like this: virtualmachines: hosts: Name-Of-My-Azure-VM-Here: ansible_host: 1.2.3.4 ansible_port: 22 Name-Of-My-Other-Azure-VM-Here: ansible_host: 2.3.4.5 ansible_port: 22 I'm trying to reboot the machine when I'm done with the setup. The built in reboot command throws an error: Reboot…

VIEW QUESTION
Back To Top
Search