I just realized the ansible output I put in my original post was incorrect. I re-ran it just now. Here is the correct output which is still having the same issue of running successfully, but the change is not seen in the management portal.
Output:
2025-03-20 10:36:00,354 p=3058295 u=cotelmer n=ansible | ok: [lp-itfuat04] => {
"iris_merge_output": {
"changed": true,
"msg": "All items completed",
"results": [
{
"ansible_loop_var": "item",
"changed": true,
"cmd": "set timout 15\nspawn bash -c \"iris merge CLINUAT04 /WORK/CLIN/deploy/cpf_merge_files/all_disable_application.mergefile /CLIN/CLINUAT04/iris.cpf\"\nexpect \"Username: \"\nsend \"hsadmin\\n\"\nexpect \"Password: \"\nsend \"Adm4uat14\"\nexpect eof\n",
"delta": "0:00:10.031555",
"end": "2025-03-20 10:36:00.200962",
"failed": false,
"invocation": {
"module_args": {
"_raw_params": "set timout 15\nspawn bash -c \"iris merge CLINUAT04 /WORK/CLIN/deploy/cpf_merge_files/all_disable_application.mergefile /CLIN/CLINUAT04/iris.cpf\"\nexpect \"Username: \"\nsend \"hsadmin\\n\"\nexpect \"Password: \"\nsend \"Adm4uat14\"\nexpect eof\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": "/usr/bin/expect",
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"item": "CLIN",
"rc": 0,
"start": "2025-03-20 10:35:50.169407",
"stderr": "",
"stderr_lines": [],
"stdout": "spawn bash -c iris merge CLINUAT04 /WORK/CLIN/deploy/cpf_merge_files/all_disable_application.mergefile /CLIN/CLINUAT04/iris.cpf\r\n\r\nUsername: hsadmin\r\nPassword: *********",
"stdout_lines": [
"spawn bash -c iris merge CLINUAT04 /WORK/CLIN/deploy/cpf_merge_files/all_disable_application.mergefile /CLIN/CLINUAT04/iris.cpf",
"",
"Username: hsadmin",
"Password: *********"
]
}
]
}
}
2025-03-20 10:36:00,355 p=3058295 u=cotelmer n=ansible | META: ran handlers
2025-03-20 10:36:00,355 p=3058295 u=cotelmer n=ansible | META: ran handlers
- Log in to post comments