I am currently using ansible 3.0.0 in my local environment. I am trying to do the deployment from ubuntu20 docker container to ubuntu20 container. But deployments are failing with the below error.
"changed": false,
"invocation": {
"module_args": {
"daemon_reexec": false,
"daemon_reload": false,
"enabled": null,
"force": null,
"masked": null,
"name": "supervisor",
"no_block": false,
"scope": "system",
"state": "stopped"
}
},
"msg": "Service is in unknown state",
"status": {}
- name: Stop supervisor
service: name=supervisor state=stopped
I tried ansible 3.1.0, ansible 3.2.0, ansible 3.3.0. But getting same error . Can someone please help me to fix this error.