#!/usr/bin/env ansible-playbook # vim:ft=ansible: - name: restart prometheus container docker_container: name="prometheus" state=started restart=yes become: yes - name: restart blackbox container docker_container: name="prometheus-blackbox" state=started restart=yes become: yes