{"id":160490,"status":"ok","playbook":{"id":1990,"items":{"plays":1,"tasks":17,"results":17,"hosts":1,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":"dns2.webglu.man-1.vm.plesk-server.com","extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["install_superDNS.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":128,"name":"subset:dns2.webglu.man-1.vm.plesk-server.com"}],"started":"2024-09-24T14:20:06.449499+01:00","ended":"2024-09-24T14:21:48.351859+01:00","duration":"00:01:41.902360","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"completed","path":"/home/ssh-gateway/ansible/kuly/install_superDNS.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2306,"items":{"tasks":17,"results":17},"started":"2024-09-24T14:20:06.488012+01:00","ended":"2024-09-24T14:21:48.255744+01:00","duration":"00:01:41.767732","name":"Playbook to install SuperDNS PDNS on alma8","status":"completed"},"task":{"id":5053,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/install_superDNS.yaml","tags":[],"started":"2024-09-24T14:21:35.853065+01:00","ended":"2024-09-24T14:21:48.065068+01:00","duration":"00:00:12.212003","name":"Install 360 monitor","uuid":"001851d0-75dc-8623-c51e-0000000000ab","action":"ansible.builtin.shell","lineno":152,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":3931},"host":{"id":67223,"name":"dns2.webglu.man-1.vm.plesk-server.com","changed":6,"failed":0,"ok":17,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\nmon_pass=$(pwgen -s 20 | head -1)\necho -e \"webserver=yes\\nwebserver-address=127.0.0.1\\\n\\nwebserver-port=8081\\napi=yes\\napi-key=$mon_pass\\\n\\nwebserver-allow-from=127.0.0.1\" >> /etc/pdns/pdns.conf\nsystemctl restart pdns.service\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s powerdns\nsed -i \"s/api_key=change_me/api_key=$mon_pass/g\" /etc/agent360-custom.ini\nsed -i \"s/localhost:8081/127.0.0.1:8081/g\" /etc/agent360-custom.ini\nsystemctl restart agent360.service\nsudo -u agent360 /usr/local/bin/agent360 test powerdns\n","delta":"0:00:11.665883","end":"2024-09-24 13:21:48.010595","invocation":{"module_args":{"_raw_params":"set -o pipefail\nmon_pass=$(pwgen -s 20 | head -1)\necho -e \"webserver=yes\\nwebserver-address=127.0.0.1\\\n\\nwebserver-port=8081\\napi=yes\\napi-key=$mon_pass\\\n\\nwebserver-allow-from=127.0.0.1\" >> /etc/pdns/pdns.conf\nsystemctl restart pdns.service\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s powerdns\nsed -i \"s/api_key=change_me/api_key=$mon_pass/g\" /etc/agent360-custom.ini\nsed -i \"s/localhost:8081/127.0.0.1:8081/g\" /etc/agent360-custom.ini\nsystemctl restart agent360.service\nsudo -u agent360 /usr/local/bin/agent360 test powerdns\n","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":"/bin/bash","expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2024-09-24 13:21:36.344712","stderr":"grep: /etc/agent360-custom.ini: No such file or directory\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   153  100   153    0     0   5275      0 --:--:-- --:--:-- --:--:--  5275\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  4668  100  4668    0     0   142k      0 --:--:-- --:--:-- --:--:--  142k\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   345  100   345    0     0   6764      0 --:--:-- --:--:-- --:--:--  6764\nRedirecting to /bin/systemctl restart agent360.service","stderr_lines":["grep: /etc/agent360-custom.ini: No such file or directory","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100   153  100   153    0     0   5275      0 --:--:-- --:--:-- --:--:--  5275","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100  4668  100  4668    0     0   142k      0 --:--:-- --:--:-- --:--:--  142k","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100   345  100   345    0     0   6764      0 --:--:-- --:--:-- --:--:--  6764","Redirecting to /bin/systemctl restart agent360.service"],"stdout":"Adding conf, so this is an install\npowerdns:\nExecution error: HTTP Error 401: Unauthorized\npowerdns:\n{\n    \"corrupt-packets\": 0,\n    \"deferred-cache-inserts\": 0,\n    \"deferred-cache-lookup\": 0,\n    \"deferred-packetcache-inserts\": 0,\n    \"deferred-packetcache-lookup\": 0,\n    \"dnsupdate-answers\": 0,\n    \"dnsupdate-changes\": 0,\n    \"dnsupdate-queries\": 0,\n    \"dnsupdate-refused\": 0,\n    \"fd-usage\": 25.0,\n    \"incoming-notifications\": 0,\n    \"key-cache-size\": 0.0,\n    \"latency\": 0.0,\n    \"meta-cache-size\": 0.0,\n    \"open-tcp-connections\": 0.0,\n    \"overload-drops\": 0,\n    \"packetcache-hit\": 0,\n    \"packetcache-miss\": 0,\n    \"packetcache-size\": 0.0,\n    \"qsize-q\": 0.0,\n    \"query-cache-hit\": 0,\n    \"query-cache-miss\": 0,\n    \"query-cache-size\": 0.0,\n    \"rd-queries\": 0,\n    \"real-memory-usage\": 62074880.0,\n    \"recursing-answers\": 0,\n    \"recursing-questions\": 0,\n    \"recursion-unanswered\": 0,\n    \"security-status\": 1.0,\n    \"servfail-packets\": 0,\n    \"signature-cache-size\": 0.0,\n    \"signatures\": 0,\n    \"sys-msec\": 0,\n    \"tcp-answers\": 0,\n    \"tcp-answers-bytes\": 0,\n    \"tcp-queries\": 0,\n    \"tcp4-answers\": 0,\n    \"tcp4-answers-bytes\": 0,\n    \"tcp4-queries\": 0,\n    \"tcp6-answers\": 0,\n    \"tcp6-answers-bytes\": 0,\n    \"tcp6-queries\": 0,\n    \"timedout-packets\": 0,\n    \"udp-answers\": 0,\n    \"udp-answers-bytes\": 0,\n    \"udp-do-queries\": 0,\n    \"udp-in-errors\": 0,\n    \"udp-noport-errors\": 0,\n    \"udp-queries\": 0,\n    \"udp-recvbuf-errors\": 0,\n    \"udp-sndbuf-errors\": 0,\n    \"udp4-answers\": 0,\n    \"udp4-answers-bytes\": 0,\n    \"udp4-queries\": 0,\n    \"udp6-answers\": 0,\n    \"udp6-answers-bytes\": 0,\n    \"udp6-queries\": 0,\n    \"uptime\": 11.0,\n    \"user-msec\": 0\n}","stdout_lines":["Adding conf, so this is an install","powerdns:","Execution error: HTTP Error 401: Unauthorized","powerdns:","{","    \"corrupt-packets\": 0,","    \"deferred-cache-inserts\": 0,","    \"deferred-cache-lookup\": 0,","    \"deferred-packetcache-inserts\": 0,","    \"deferred-packetcache-lookup\": 0,","    \"dnsupdate-answers\": 0,","    \"dnsupdate-changes\": 0,","    \"dnsupdate-queries\": 0,","    \"dnsupdate-refused\": 0,","    \"fd-usage\": 25.0,","    \"incoming-notifications\": 0,","    \"key-cache-size\": 0.0,","    \"latency\": 0.0,","    \"meta-cache-size\": 0.0,","    \"open-tcp-connections\": 0.0,","    \"overload-drops\": 0,","    \"packetcache-hit\": 0,","    \"packetcache-miss\": 0,","    \"packetcache-size\": 0.0,","    \"qsize-q\": 0.0,","    \"query-cache-hit\": 0,","    \"query-cache-miss\": 0,","    \"query-cache-size\": 0.0,","    \"rd-queries\": 0,","    \"real-memory-usage\": 62074880.0,","    \"recursing-answers\": 0,","    \"recursing-questions\": 0,","    \"recursion-unanswered\": 0,","    \"security-status\": 1.0,","    \"servfail-packets\": 0,","    \"signature-cache-size\": 0.0,","    \"signatures\": 0,","    \"sys-msec\": 0,","    \"tcp-answers\": 0,","    \"tcp-answers-bytes\": 0,","    \"tcp-queries\": 0,","    \"tcp4-answers\": 0,","    \"tcp4-answers-bytes\": 0,","    \"tcp4-queries\": 0,","    \"tcp6-answers\": 0,","    \"tcp6-answers-bytes\": 0,","    \"tcp6-queries\": 0,","    \"timedout-packets\": 0,","    \"udp-answers\": 0,","    \"udp-answers-bytes\": 0,","    \"udp-do-queries\": 0,","    \"udp-in-errors\": 0,","    \"udp-noport-errors\": 0,","    \"udp-queries\": 0,","    \"udp-recvbuf-errors\": 0,","    \"udp-sndbuf-errors\": 0,","    \"udp4-answers\": 0,","    \"udp4-answers-bytes\": 0,","    \"udp4-queries\": 0,","    \"udp6-answers\": 0,","    \"udp6-answers-bytes\": 0,","    \"udp6-queries\": 0,","    \"uptime\": 11.0,","    \"user-msec\": 0","}"]},"created":"2024-09-24T14:21:48.055791+01:00","updated":"2024-09-24T14:21:48.055820+01:00","started":"2024-09-24T14:21:35.903130+01:00","ended":"2024-09-24T14:21:48.047485+01:00","duration":"00:00:12.144355","changed":false,"ignore_errors":false}