]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
ceph-grafana: Restart container when creating 185/head
authorZack Cerza <zack@redhat.com>
Mon, 21 May 2018 22:56:10 +0000 (16:56 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 21 May 2018 22:57:56 +0000 (16:57 -0600)
This is necessary so we can move to newer versions
 of the container image.

Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/roles/ceph-grafana/tasks/setup_container.yml

index c29edff208596f9f3d1e1ff82aa42ad927d5869e..966d38f36381872f7d958a950ae9d17084be7f6c 100644 (file)
@@ -28,6 +28,8 @@
     name: grafana-server
     image: "{{ grafana.container_name }}:{{ grafana.version }}"
     state: present
+    # restart to allow updates
+    restart: true
     restart_policy: no
     published_ports: '3000:3000'
     detach: true