summaryrefslogtreecommitdiffstats
path: root/roles/openshift_web_console/tasks/remove_old_asset_config.yml
blob: 34158150c11cb348b89ca1528c5d9e1b4f667ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
# Remove the obsolete assetConfig stanza from master-config.yaml. Since the
# web console has been split out into a separate deployment, those settings
# are no longer used.
- name: Remove assetConfig from master-config.yaml
  yedit:
    state: absent
    src: "{{ openshift.common.config_base }}/master/master-config.yaml"
    key: assetConfig

# This file was written by wire_aggregator.yml. It is no longer needed since
# the web console now discovers if the template service broker is running on
# startup. Remove the file if it exists.
- name: Remove obsolete web console / service catalog extension file
  file:
    state: absent
    # Hard-code the path instead of using `openshift.common.config_base` since
    # the path is hard-coded in wire_aggregator.yml.
    path: /etc/origin/master/openshift-ansible-catalog-console.js