For the prometheus and grafana containers, in some specific
circumstances it's desirable to skip verification of the container
image. Allow passing that value in via group_vars.
Resolves: rhbz#
1636136
Signed-off-by: Zack Cerza <zack@redhat.com>
uid: 472
datasource: Local
pull_image: true
+ trust_image_content: false
# You need to change these in the web UI on an already deployed machine, first
# New deployments work fine
admin_user: admin
- name: "{{ docker.network_name }}"
keep_volumes: true
pull: "{{ grafana.pull_image }}"
+ trust_image_content: "{{ grafana.trust_image_content }}"
cpu_period: "{{ grafana.container_cpu_period }}"
# As of ansible-2.5.2, this module doesn't support the equivalent of the
# --cpus flag, so we must use period/quota for now
# for containerized deployments.
etc_hosts: {}
pull_image: true
+ trust_image_content: false
version: latest
data_dir: /var/lib/cephmetrics
user_id: '65534' # This is the UID used by the prom/prometheus docker image
user: "{{ prometheus.user_id }}"
keep_volumes: true
pull: "{{ prometheus.pull_image }}"
+ trust_image_content: "{{ prometheus.trust_image_content }}"
cpu_period: "{{ prometheus.container_cpu_period }}"
# As of ansible-2.5.2, this module doesn't support the equivalent of the
# --cpus flag, so we must use period/quota for now