{"id":89331,"status":"changed","playbook":{"id":1418,"items":{"plays":1,"tasks":1,"results":13,"hosts":14,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"inventory":["/home/ssh-gateway/ansible/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":null,"poll_interval":15,"seconds":0,"one_line":false,"tree":null,"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,"check":false,"diff":false,"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,"basedir":null,"task_timeout":0,"module_args":"imunify360-agent","module_name":"shell","args":"all"},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"}],"started":"2024-08-30T07:45:11.028931+01:00","ended":null,"duration":null,"name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.1","status":"running","path":"Ad-Hoc: shell: imunify360-agent","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":1416,"items":{"tasks":1,"results":13},"started":"2024-08-30T07:45:11.164198+01:00","ended":null,"duration":null,"name":"Ansible Ad-Hoc","status":"running"},"task":{"id":2306,"items":{"results":13},"path":"Ad-Hoc: shell: imunify360-agent","tags":[],"started":"2024-08-30T07:45:11.466183+01:00","ended":"2024-08-30T07:45:32.423408+01:00","duration":"00:00:20.957225","name":"shell","uuid":"001851d0-75dc-ca84-59e7-00000000008b","action":"shell","lineno":1,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":1826},"host":{"id":43029,"name":"olive-dove.man-1.vm.plesk-server.com","changed":0,"failed":0,"ok":0,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"ansible_facts":{"discovered_interpreter_python":"/usr/libexec/platform-python"},"changed":true,"cmd":"imunify360-agent","delta":"0:00:01.208364","end":"2024-08-30 07:45:14.371260","invocation":{"module_args":{"_raw_params":"imunify360-agent","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2024-08-30 07:45:13.162896","stderr":"","stderr_lines":[],"stdout":"usage: imunify360-agent [-h] [--log-config LOG_CONFIG]\n                        [--console-log-level {ERROR,WARNING,INFO,DEBUG}]\n                        [--remote-addr REMOTE_ADDR]\n                        {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}\n                        ...\n\nCLI for imunify360 agent.\n\npositional arguments:\n  {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}\n                        Available commands\n    3rdparty            Shows conflicts with other software\n    add-sudouser        (internal)\n    admin-emails        Get panel admin emails\n    advisor             (internal)\n    auth-cloud          Get independent agent ID token\n    backup-systems      Check the payment status of the selected backup\n                        backend\n    billing             (internal) For communication with whmcs updates.\n    blacklist           Return/Edit IP blacklist\n    blocked-port        Add item(-s) to blocked ports. Only applicable if the\n                        FIREWALL.port_blocking_mode config option is set to\n                        ALLOW (allow access to all ports by default).\n    blocked-port-ip     Add IPs to a blocked port Only applicable if the\n                        FIREWALL.port_blocking_mode config option is set to\n                        ALLOW (allow access to all ports by default).\n    check               whether ModSecurity settings have values recommended\n                        by Imunify360\n    check-domains       Send domain list check\n    checkdb             (internal)\n    clean               (internal)\n    config              Update Imunify configuration (`/etc/sysconfig/imunify3\n                        60/imunify360.config.d/90-local.config`).\n    create-rbl-whitelist\n                        Create whitelist for RBL\n    delete-sudouser     (internal)\n    disable-plugin      (internal) Disable hosting panel plugin\n    doctor              (internal)\n    enable-plugin       (internal) Enable hosting panel plugin (if detected)\n    eula                Accept EULA\n    feature-management  Get the default state of all features for new users\n    features            Install opted feature\n    fix                 fix ModSecurity settings to values recommended by\n                        Imunify360\n    get                 List incidents\n    get-news            (internal)\n    get-package-versions\n                        (internal)\n    graylist            Add item(-s) to Gray List\n    health\n    hook\n    import\n    infected-domains    Returns infected domain list\n    install-vendors     Enable hosting panel plugin (if detected)\n    ip-list             Add item(-s) from local ip-list\n    list-docroots       (internal) Get docroots for all domains\n    login               Returns a token for USERNAME (must be executed by\n                        admin)\n    malware             Show the status of running cleanup\n    myimunify\n    notifications-config\n                        (internal) https://docs.imunify360.com/command_line_in\n                        terface/#notifications-config\n    permissions         (internal)\n    plesk-stats         Return stats, required by plesk extension\n    proactive           Show Proactive Defense event details\n    pure-ftpd           (internal) Enable pure-ftpd\n    register            Register the agent\n    reload-lists        Reload custom black and white lists\n    remote-proxy        Add proxy subnet in CIDR notation\n    remove-block-report-script\n                        Restore block reports script\n    remove-csf-ports    Remove imunify360 ports from csf config\n    restore-configs     Restore system configs to pre install Imunify360 state\n    rstatus             Get registration status\n    rules               Add a new rule to the disabled rules list\n    smart-advice\n    smtp-blocking       Remove Imunify360 SMTP blocking rules from iptables.\n    submit              Submit a malicious file not yet detected by scanner to\n                        Imunify team for analysis.\n    support             Contact support team of imunify360\n    uninstall-vendors   Disable hosting panel plugin\n    unregister          Unregister the agent\n    update              (internal)\n    update-license      Force update license\n    version             Get Imunify Agent version\n    whitelist           Add item(-s) from White List\n    whitelisted-crawlers\n                        Add whitelisted crawler\n\noptions:\n  -h, --help            show this help message and exit\n  --log-config LOG_CONFIG\n                        logging config filename\n  --console-log-level {ERROR,WARNING,INFO,DEBUG}\n                        Level of logging input to the console\n  --remote-addr REMOTE_ADDR\n                        Client's IP address for adding it to the whitelist","stdout_lines":["usage: imunify360-agent [-h] [--log-config LOG_CONFIG]","                        [--console-log-level {ERROR,WARNING,INFO,DEBUG}]","                        [--remote-addr REMOTE_ADDR]","                        {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}","                        ...","","CLI for imunify360 agent.","","positional arguments:","  {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}","                        Available commands","    3rdparty            Shows conflicts with other software","    add-sudouser        (internal)","    admin-emails        Get panel admin emails","    advisor             (internal)","    auth-cloud          Get independent agent ID token","    backup-systems      Check the payment status of the selected backup","                        backend","    billing             (internal) For communication with whmcs updates.","    blacklist           Return/Edit IP blacklist","    blocked-port        Add item(-s) to blocked ports. Only applicable if the","                        FIREWALL.port_blocking_mode config option is set to","                        ALLOW (allow access to all ports by default).","    blocked-port-ip     Add IPs to a blocked port Only applicable if the","                        FIREWALL.port_blocking_mode config option is set to","                        ALLOW (allow access to all ports by default).","    check               whether ModSecurity settings have values recommended","                        by Imunify360","    check-domains       Send domain list check","    checkdb             (internal)","    clean               (internal)","    config              Update Imunify configuration (`/etc/sysconfig/imunify3","                        60/imunify360.config.d/90-local.config`).","    create-rbl-whitelist","                        Create whitelist for RBL","    delete-sudouser     (internal)","    disable-plugin      (internal) Disable hosting panel plugin","    doctor              (internal)","    enable-plugin       (internal) Enable hosting panel plugin (if detected)","    eula                Accept EULA","    feature-management  Get the default state of all features for new users","    features            Install opted feature","    fix                 fix ModSecurity settings to values recommended by","                        Imunify360","    get                 List incidents","    get-news            (internal)","    get-package-versions","                        (internal)","    graylist            Add item(-s) to Gray List","    health","    hook","    import","    infected-domains    Returns infected domain list","    install-vendors     Enable hosting panel plugin (if detected)","    ip-list             Add item(-s) from local ip-list","    list-docroots       (internal) Get docroots for all domains","    login               Returns a token for USERNAME (must be executed by","                        admin)","    malware             Show the status of running cleanup","    myimunify","    notifications-config","                        (internal) https://docs.imunify360.com/command_line_in","                        terface/#notifications-config","    permissions         (internal)","    plesk-stats         Return stats, required by plesk extension","    proactive           Show Proactive Defense event details","    pure-ftpd           (internal) Enable pure-ftpd","    register            Register the agent","    reload-lists        Reload custom black and white lists","    remote-proxy        Add proxy subnet in CIDR notation","    remove-block-report-script","                        Restore block reports script","    remove-csf-ports    Remove imunify360 ports from csf config","    restore-configs     Restore system configs to pre install Imunify360 state","    rstatus             Get registration status","    rules               Add a new rule to the disabled rules list","    smart-advice","    smtp-blocking       Remove Imunify360 SMTP blocking rules from iptables.","    submit              Submit a malicious file not yet detected by scanner to","                        Imunify team for analysis.","    support             Contact support team of imunify360","    uninstall-vendors   Disable hosting panel plugin","    unregister          Unregister the agent","    update              (internal)","    update-license      Force update license","    version             Get Imunify Agent version","    whitelist           Add item(-s) from White List","    whitelisted-crawlers","                        Add whitelisted crawler","","options:","  -h, --help            show this help message and exit","  --log-config LOG_CONFIG","                        logging config filename","  --console-log-level {ERROR,WARNING,INFO,DEBUG}","                        Level of logging input to the console","  --remote-addr REMOTE_ADDR","                        Client's IP address for adding it to the whitelist"]},"created":"2024-08-30T07:45:33.353835+01:00","updated":"2024-08-30T07:45:33.353863+01:00","started":"2024-08-30T07:45:12.046822+01:00","ended":"2024-08-30T07:45:33.293930+01:00","duration":"00:00:21.247108","changed":true,"ignore_errors":false}