{"id":251035,"status":"ok","playbook":{"id":2758,"items":{"plays":1,"tasks":17,"results":34,"hosts":2,"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/new-ynh.ini"],"listhosts":false,"subset":null,"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"}],"started":"2025-04-15T12:38:41.548407+01:00","ended":"2025-04-15T12:39:43.876642+01:00","duration":"00:01:02.328235","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":3079,"items":{"tasks":17,"results":34},"started":"2025-04-15T12:38:41.586562+01:00","ended":"2025-04-15T12:39:43.731714+01:00","duration":"00:01:02.145152","name":"Playbook to install SuperDNS PDNS on alma8","status":"completed"},"task":{"id":6566,"items":{"results":2},"path":"/home/ssh-gateway/ansible/kuly/install_superDNS.yaml","tags":[],"started":"2025-04-15T12:39:38.282738+01:00","ended":"2025-04-15T12:39:43.587388+01:00","duration":"00:00:05.304650","name":"Install 360 monitor","uuid":"001851d0-75dc-ac78-71a5-000000000014","action":"ansible.builtin.shell","lineno":152,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":4864},"host":{"id":105370,"name":"ns2","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:00.729216","end":"2025-04-15 11:39:43.523220","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":"2025-04-15 11:39:42.794004","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  10200      0 --:--:-- --:--:-- --:--:-- 10200\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   325k      0 --:--:-- --:--:-- --:--:--  350k\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  10200      0 --:--:-- --:--:-- --:--:-- 10200","  % 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   325k      0 --:--:-- --:--:-- --:--:--  350k","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\": 62062592.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\": 1.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\": 62062592.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\": 1.0,","    \"user-msec\": 0","}"]},"created":"2025-04-15T12:39:43.577586+01:00","updated":"2025-04-15T12:39:43.577615+01:00","started":"2025-04-15T12:39:42.503658+01:00","ended":"2025-04-15T12:39:43.570341+01:00","duration":"00:00:01.066683","changed":false,"ignore_errors":false}