Ansible Service Module and sudo

Hi All

I am trying to user a systemd service with ansible. Basically I am trying to restart jboss with a jboss user. I have allowed this user to stop/start/ using sudo without a password in the sudoers file and it works

`
sudo /usr/bin/systemctl stop jboss

`

. When I try with ansible I get Access denied

`

This is a known issue, see: Le vendredi 29 janvier 2016 14:55:02 UTC+1, Isa Baboo a écrit :