summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/preconfigure-optane.yml
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2020-11-19 18:09:16 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-19 18:09:16 +0000
commit3736b08466b2017944875461027e4a5112cbb904 (patch)
tree66d32216714da63828fa262458d25dd54c876ea7 /kud/deployment_infra/playbooks/preconfigure-optane.yml
parent2d98c37123eecfa2aea13e5b11b1dcf04f529fe4 (diff)
parent9feac8c69c9ef4e970689f7a8f1f92e4e688e85e (diff)
Merge "Use same host in both copy and run of deploy_optane.sh"
Diffstat (limited to 'kud/deployment_infra/playbooks/preconfigure-optane.yml')
-rw-r--r--kud/deployment_infra/playbooks/preconfigure-optane.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/kud/deployment_infra/playbooks/preconfigure-optane.yml b/kud/deployment_infra/playbooks/preconfigure-optane.yml
index 64622895..135371ea 100644
--- a/kud/deployment_infra/playbooks/preconfigure-optane.yml
+++ b/kud/deployment_infra/playbooks/preconfigure-optane.yml
@@ -22,6 +22,14 @@
state: directory
path: "{{ optane_dest }}"
ignore_errors: yes
+ - copy:
+ src: "{{ playbook_dir }}/deploy_optane.sh"
+ dest: "{{ optane_dest }}"
+ - name: Changing perm of "sh", adding "+x"
+ shell: "chmod +x deploy_optane.sh"
+ args:
+ chdir: "{{ optane_dest }}"
+ warn: False
- hosts: kube-node
become: yes
@@ -61,14 +69,6 @@
chdir: "optane"
warn: False
- copy:
- src: "{{ playbook_dir }}/deploy_optane.sh"
- dest: optane
- - name: Changing perm of "sh", adding "+x"
- shell: "chmod +x deploy_optane.sh"
- args:
- chdir: "optane"
- warn: False
- - copy:
src: "{{ playbook_dir }}/../images/pmem-csi-lvm.yaml"
dest: optane
- copy: