wtsi-hgi / hgi-systems

Orchestration and configuration management of hgi systems (using terraform & ansible)
GNU General Public License v3.0
3 stars 3 forks source link

Consul servers are not getting restarted on config change #41

Closed colin-nolan closed 7 years ago

colin-nolan commented 7 years ago

Possibly an issue with the 3rd party role that we're using:

RUNNING HANDLER [wtsi-hgi.ansible-consul : restart consul] *********************************************************************************************************************************************************************************************************************
fatal: [consul-server-delta-hgi-03]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to restart service consul: Failed to restart consul.service: Interactive authentication required.\nSee system logs and 'systemctl status consul.service' for details.\n"}
colin-nolan commented 7 years ago

The issue was that the privilege escalation was not working as expected when the role was included using include_role.