blob: fcb4c94d3832e1675a859d0823122692764c16c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- oc_obj:
state: list
kind: project
name: "{{ item }}"
with_items: "{{ __default_logging_ops_projects }}"
register: __logging_ops_projects
- name: Annotate Operations Projects
oc_edit:
kind: ns
name: "{{ item.item }}"
separator: '#'
content:
metadata#annotations#openshift.io/logging.ui.hostname: "{{ openshift_logging_kibana_ops_hostname }}"
with_items: "{{ __logging_ops_projects.results }}"
when: item.results.stderr is not defined
|