Ansible Ad Hoc Commands

Just for future reference:

ansible -i /tmp/ips -f 10 -m shell -a "sudo docker restart logstash" all

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>