Prepare for offline deployment in kolla

installer-type: kolla
deploy-scenario: os-nosdn-nofeature

Change-Id: I6c0dd0e4af1c79fb48fcba3278f05f97c4eefd45
diff --git a/playbooks/roles/configure-targethosts/tasks/main.yml b/playbooks/roles/configure-targethosts/tasks/main.yml
index 783f029..91e3c3e 100644
--- a/playbooks/roles/configure-targethosts/tasks/main.yml
+++ b/playbooks/roles/configure-targethosts/tasks/main.yml
@@ -18,8 +18,26 @@
 # ============LICENSE_END=========================================================
 
 - include: configure-network.yml
-- include: install-packages.yml
+  when: provisioner_type == "bifrost"
+
+- include: "configure-{{ execution_mode }}.yaml"
+
 - include: sync-time.yml
+  when: execution_mode == 'online-deployment'
+
+# NOTE (fdegir): in some cases, the provisioned nodes do not have tzdata
+# installed on them, resulting incorrect timezone setting due to missing
+# timezone file and broken /etc/localtime symlink
+- name: Delete /etc/localtime
+  file:
+    path: /etc/localtime
+    state: absent
+  ignore_errors: true
+
+- name: Set timezone to UTC
+  timezone:
+    name: UTC
+
 - include: create-swap.yml
 - include: prepare-nova-kvm.yml
 - include: prepare-cinder-{{ cinder_storage_driver }}-{{ cinder_storage_type }}.yml