Initial CDN deployment playbooks and ansible modules
Change-Id: Ib2c5a8f3d22459bf3c540289f7b7cc1b3fdf4457
diff --git a/setup/roles/cdn-cord-profile/tasks/main.yml b/setup/roles/cdn-cord-profile/tasks/main.yml
new file mode 100644
index 0000000..5110500
--- /dev/null
+++ b/setup/roles/cdn-cord-profile/tasks/main.yml
@@ -0,0 +1,16 @@
+---
+
+- name: Copy over commonly used and utility TOSCA files
+ copy:
+ src: "{{ item }}"
+ dest: "/opt/cord_profile/{{ item }}"
+ with_items:
+ - setup_headnode.yml
+ - cdn_service.yml
+
+- name: Copy over the public key
+ copy:
+ src: "{{ item }}"
+ dest: "/opt/cord_profile/key_import/{{ item }}"
+ with_items:
+ - cdnnode_id_rsa.pub