summaryrefslogtreecommitdiffstats
path: root/patches/onap-patch-role/tasks/main.yml
diff options
context:
space:
mode:
authorPetr OspalĂ˝ <p.ospaly@partner.samsung.com>2019-10-15 13:18:01 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-15 13:18:01 +0000
commitd1645f1dcadfa8ba5463a65bdb1e9532dd422229 (patch)
treed6a113701c3b08bac047d9e906a1cb584a64280d /patches/onap-patch-role/tasks/main.yml
parent1b402b0db23d65f9c6c716c803fa350839ff2f6b (diff)
parent0ba2d82c40043b6f31afb7b9584d7568071673a6 (diff)
Merge "Remove patching from offline-installer"
Diffstat (limited to 'patches/onap-patch-role/tasks/main.yml')
-rw-r--r--patches/onap-patch-role/tasks/main.yml36
1 files changed, 0 insertions, 36 deletions
diff --git a/patches/onap-patch-role/tasks/main.yml b/patches/onap-patch-role/tasks/main.yml
deleted file mode 100644
index 474b8ed4..00000000
--- a/patches/onap-patch-role/tasks/main.yml
+++ /dev/null
@@ -1,36 +0,0 @@
----
-# This role contains patching logic for OOM charts
-# and is valid until OOM-1610 is implemented
-- name: Check presence of files for NPM patching
- stat:
- path: "{{ app_helm_charts_infra_directory }}/{{ item }}"
- loop:
- - common/dgbuilder/templates/deployment.yaml
- register: npm_files_check
-
-- name: Check presence of files for nexus domain resolving
- stat:
- path: "{{ app_helm_charts_infra_directory }}/{{ item }}"
- loop:
- - oof/charts/oof-cmso/charts/oof-cmso-service/templates/deployment.yaml
- register: hosts_files_check
-
-- name: Patch OOM - set npm registry
- lineinfile:
- path: "{{ item.stat.path }}"
- regexp: '^(.*)NPM_REGISTRY_RECORD'
- line: '\g<1>npm set registry "http://nexus.{{ ansible_nodename }}/repository/npm-private/";'
- backrefs: yes
- state: present
- loop: "{{ npm_files_check.results }}"
- when: item.stat.exists
-
-- name: Patch OOM - nexus domain resolving
- lineinfile:
- path: "{{ item.stat.path }}"
- regexp: '^(.*)INFRA_CLUSTER_IP'
- line: '\g<1>{{ cluster_ip }}'
- backrefs: yes
- state: present
- loop: "{{ hosts_files_check.results }}"
- when: item.stat.exists