summaryrefslogtreecommitdiffstats
path: root/patches/onap-casablanca-patch-role/tasks/main.yml
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-24 12:05:04 +0000
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-24 12:05:04 +0000
commit84617e8184fbb4a722a1bd7f273696cec5e85c17 (patch)
tree8e5ece0ebe39afe6222c83d64b9dcb3f4192f435 /patches/onap-casablanca-patch-role/tasks/main.yml
parentb1fe78553ea7d1caf90c1d52e195cd8f2a082008 (diff)
Adjusting patching file for Dublin
some oom helm charts patching from Casablanca is not needed, this is the rest we need to keep eye on. Change-Id: I0011d2bfdb4552c08745822989f830969f46ab9a Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Diffstat (limited to 'patches/onap-casablanca-patch-role/tasks/main.yml')
-rw-r--r--patches/onap-casablanca-patch-role/tasks/main.yml48
1 files changed, 0 insertions, 48 deletions
diff --git a/patches/onap-casablanca-patch-role/tasks/main.yml b/patches/onap-casablanca-patch-role/tasks/main.yml
deleted file mode 100644
index 00ee4577..00000000
--- a/patches/onap-casablanca-patch-role/tasks/main.yml
+++ /dev/null
@@ -1,48 +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 }}"
- with_items:
- - common/dgbuilder/templates/deployment.yaml
- - sdnc/charts/sdnc-portal/templates/deployment.yaml
- register: npm_files_check
-
-- name: Check presence of dcae cloudify deployment chart file
- stat:
- path: "{{ app_helm_charts_infra_directory }}/{{ item }}"
- with_items:
- - dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml
- register: dcae_files_check
-
-- name: Patch OOM - nexus domain resolving
- lineinfile:
- path: "{{ item.stat.path }}"
- regexp: '^(.*)HOSTS_FILE_RECORD'
- line: '\g<1>{{ cluster_ip }} {{ simulated_hosts.nexus | join(" ") }} >> /etc/hosts;'
- backrefs: yes
- state: present
- with_items: "{{ npm_files_check.results }}"
- when: item.stat.exists
-
-- 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
- with_items: "{{ npm_files_check.results }}"
- when: item.stat.exists
-
-- name: Patch OOM - set cert path for cloudify
- lineinfile:
- path: "{{ item.stat.path }}"
- regexp: '^(.*)CERT_PATH'
- line: '\g<1>/etc/pki/ca-trust/source/anchors'
- backrefs: yes
- state: present
- with_items: "{{ dcae_files_check.results }}"
- when: item.stat.exists
-