06 Oct 2016
ansible -i hosts localhost -m service -a "name=iptables state=started" -C localhost | SUCCESS => { "changed": true, "msg": "service state changed" } ansible -i hosts localhost -m service -a "name=iptables state=stopped" -C localhost | SUCCESS => { "changed": false, "name": "iptables", "state": "stopped"