Multiple updates. Converted many of the Yaml files from "dos" format to
"unix" format. Finalized the creation of the final installer file set
that can be copied to a USB Flash drive or other removable media.
Updated the config file with comments to make it more user friendly.
Deleted ansible files that were no longer needed. This update continues
to address the requirements laid out by Jira VOL-6.
Change-Id: I7434d2ec01768121e8d2ec50bb633c515281b37a
diff --git a/install/ansible/roles/installer/tasks/installer.yml b/install/ansible/roles/installer/tasks/installer.yml
index 5d29235..330d512 100644
--- a/install/ansible/roles/installer/tasks/installer.yml
+++ b/install/ansible/roles/installer/tasks/installer.yml
@@ -22,9 +22,10 @@
- nginx_config
tags: [installer]
- name: Determine if test mode is active
+ become: false
local_action: stat path="{{ cord_home }}/incubator/voltha/install/.test"
register: file
- ignore_errors: True
+ ignore_errors: true
- name: Test mode file is copied
copy:
src: "{{ cord_home }}/incubator/voltha/install/.test"
@@ -41,6 +42,11 @@
- name: Python netifaces 0.10.4 package source is available
command: pip download -d /home/vinstall/netifaces "netifaces==0.10.4"
tags: [installer]
+- name: Deb file directory doesn't exist
+ file:
+ path: /home/vinstall/deb_files
+ state: absent
+ tags: [installer]
- name: Deb files are saved.
command: cp -r /var/cache/apt/archives /home/vinstall
tags: [installer]