{"id":168653,"status":"failed","playbook":{"id":2036,"items":{"plays":1,"tasks":1,"results":5,"hosts":5,"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/zimbra/inv-stage"],"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":"su -l zimbra -c \"zmprov -s `zmhostname` flushCache -a\"","module_name":"shell","args":"all"},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"}],"started":"2024-10-10T16:51:42.316589+01:00","ended":"2024-10-10T16:51:46.143130+01:00","duration":"00:00:03.826541","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"failed","path":"Ad-Hoc: shell: su -l zimbra -c \"zmprov -s `zmhostname` flushCache -a\"","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2352,"items":{"tasks":1,"results":5},"started":"2024-10-10T16:51:42.421533+01:00","ended":"2024-10-10T16:51:45.847104+01:00","duration":"00:00:03.425571","name":"Ansible Ad-Hoc","status":"completed"},"task":{"id":5202,"items":{"results":5},"path":"Ad-Hoc: shell: su -l zimbra -c \"zmprov -s `zmhostname` flushCache -a\"","tags":[],"started":"2024-10-10T16:51:42.486841+01:00","ended":"2024-10-10T16:51:45.798087+01:00","duration":"00:00:03.311246","name":"shell","uuid":"001851d0-75dc-b9bb-890a-000000000009","action":"shell","lineno":1,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":4032},"host":{"id":68647,"name":"proxy-stage","changed":0,"failed":1,"ok":0,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"su -l zimbra -c \"zmprov -s `zmhostname` flushCache -a\"","delta":"0:00:02.116247","end":"2024-10-10 15:51:45.244138","invocation":{"module_args":{"_raw_params":"su -l zimbra -c \"zmprov -s `zmhostname` flushCache -a\"","_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":"non-zero return code","rc":1,"start":"2024-10-10 15:51:43.127891","stderr":"/bin/sh: zmhostname: command not found\nerror: Missing argument for option: a","stderr_lines":["/bin/sh: zmhostname: command not found","error: Missing argument for option: a"],"stdout":"\nzmprov [args] [cmd] [cmd-args ...]\n\n  -h/--help                             display usage\n  -f/--file                             use file as input stream\n  -s/--server   {host}[:{port}]         server hostname and optional port\n  -l/--ldap                             provision via LDAP instead of SOAP\n  -L/--logpropertyfile                  log4j property file, valid only with -l\n  -a/--account  {name}                  account name to auth as\n  -p/--password {pass}                  password for account\n  -P/--passfile {file}                  read password from file\n  -z/--zadmin                           use zimbra admin name/password from localconfig for admin/password\n  -y/--authtoken {authtoken}            use auth token string (has to be in JSON format) from command line\n  -Y/--authtokenfile {authtoken file}   read auth token (has to be in JSON format) from a file\n  -v/--verbose                          verbose mode (dumps full exception stack trace)\n  -d/--debug                            debug mode (dumps SOAP messages)\n  -m/--master                           use LDAP master (only valid with -l)\n  -r/--replace                          allow replacement of safe-guarded multi-valued attributes configured in localconfig key \"zmprov_safeguarded_attrs\"\n\n zmprov is used for provisioning. Try:\n\n     zmprov help account         help on account-related commands\n     zmprov help calendar        help on calendar resource-related commands\n     zmprov help commands        help on all commands\n     zmprov help config          help on config-related commands\n     zmprov help cos             help on COS-related commands\n     zmprov help domain          help on domain-related commands\n     zmprov help freebusy        help on free/busy-related commands\n     zmprov help list            help on distribution list-related commands\n     zmprov help log             help on logging commands\n     zmprov help misc            help on misc commands\n     zmprov help mailbox         help on mailbox-related commands\n     zmprov help reverseproxy    help on reverse proxy related commands\n     zmprov help right           help on right-related commands\n     zmprov help search          help on search-related commands\n     zmprov help server          help on server-related commands\n     zmprov help alwaysoncluster help on alwaysOnCluster-related commands\n     zmprov help ucservice       help on ucservice-related commands\n     zmprov help share           help on share related commands\n     zmprov help hab             help on HAB commands\n     zmprov help mobile          help on mobile devices management commands","stdout_lines":["","zmprov [args] [cmd] [cmd-args ...]","","  -h/--help                             display usage","  -f/--file                             use file as input stream","  -s/--server   {host}[:{port}]         server hostname and optional port","  -l/--ldap                             provision via LDAP instead of SOAP","  -L/--logpropertyfile                  log4j property file, valid only with -l","  -a/--account  {name}                  account name to auth as","  -p/--password {pass}                  password for account","  -P/--passfile {file}                  read password from file","  -z/--zadmin                           use zimbra admin name/password from localconfig for admin/password","  -y/--authtoken {authtoken}            use auth token string (has to be in JSON format) from command line","  -Y/--authtokenfile {authtoken file}   read auth token (has to be in JSON format) from a file","  -v/--verbose                          verbose mode (dumps full exception stack trace)","  -d/--debug                            debug mode (dumps SOAP messages)","  -m/--master                           use LDAP master (only valid with -l)","  -r/--replace                          allow replacement of safe-guarded multi-valued attributes configured in localconfig key \"zmprov_safeguarded_attrs\"",""," zmprov is used for provisioning. Try:","","     zmprov help account         help on account-related commands","     zmprov help calendar        help on calendar resource-related commands","     zmprov help commands        help on all commands","     zmprov help config          help on config-related commands","     zmprov help cos             help on COS-related commands","     zmprov help domain          help on domain-related commands","     zmprov help freebusy        help on free/busy-related commands","     zmprov help list            help on distribution list-related commands","     zmprov help log             help on logging commands","     zmprov help misc            help on misc commands","     zmprov help mailbox         help on mailbox-related commands","     zmprov help reverseproxy    help on reverse proxy related commands","     zmprov help right           help on right-related commands","     zmprov help search          help on search-related commands","     zmprov help server          help on server-related commands","     zmprov help alwaysoncluster help on alwaysOnCluster-related commands","     zmprov help ucservice       help on ucservice-related commands","     zmprov help share           help on share related commands","     zmprov help hab             help on HAB commands","     zmprov help mobile          help on mobile devices management commands"]},"created":"2024-10-10T16:51:45.327884+01:00","updated":"2024-10-10T16:51:45.327930+01:00","started":"2024-10-10T16:51:42.652982+01:00","ended":"2024-10-10T16:51:45.269351+01:00","duration":"00:00:02.616369","changed":true,"ignore_errors":false}