[CORD-1362] Remove old config module
Change-Id: I1a86bdd8bacc18ef4e86a35ad5c53ac908903ce4
diff --git a/roles/cord-profile/tasks/main.yml b/roles/cord-profile/tasks/main.yml
index c005276..5831a16 100644
--- a/roles/cord-profile/tasks/main.yml
+++ b/roles/cord-profile/tasks/main.yml
@@ -84,7 +84,6 @@
dest: "{{ config_cord_profile_dir }}/{{ item }}"
mode: 0644
with_items:
- - xos_common_config
- xos_config.yaml
- deployment.yaml
- xos.yaml
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index b64e837..fe16161 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -204,7 +204,6 @@
- xos_redis
{% endif %}
volumes:
- - {{ head_cord_profile_dir }}/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
- {{ head_cord_profile_dir }}/xos_config.yaml:/opt/xos/xos_config.yaml:ro
- {{ head_cord_profile_dir }}:/opt/cord_profile:ro
- {{ head_cord_dir }}/orchestration/xos_libraries/ng-xos-lib:/opt/xos_libraries/ng-xos-lib:ro
@@ -243,7 +242,6 @@
- xos_redis
{% endif %}
volumes:
- - {{ head_cord_profile_dir }}/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
- {{ head_cord_profile_dir }}/xos_config.yaml:/opt/xos/xos_config.yaml:ro
- {{ head_cord_profile_dir }}:/opt/cord_profile:ro
- {{ head_cord_dir }}/orchestration/xos_libraries/ng-xos-lib:/opt/xos_libraries/ng-xos-lib:ro
diff --git a/roles/cord-profile/templates/xos_common_config.j2 b/roles/cord-profile/templates/xos_common_config.j2
deleted file mode 100644
index af7b2a0..0000000
--- a/roles/cord-profile/templates/xos_common_config.j2
+++ /dev/null
@@ -1,59 +0,0 @@
-; xos_common_config
-; generated by cord-profile/templates/xos_common_config.j2
-
-[plc]
-name=plc
-deployment=plc
-
-[db]
-name=xos
-user=postgres
-password=password
-host=xos_db
-port=5432
-
-[api]
-host=localhost
-port=8000
-ssl_key=None
-ssl_cert=None
-ca_ssl_cert=None
-ratelimit_enabled=0
-omf_enabled=0
-mail_support_address=support@localhost
-nova_enabled=True
-logfile=/var/log/xos.log
-
-[nova]
-admin_user=admin@domain.com
-admin_password=admin
-admin_tenant=admin
-url=http://localhost:5000/v2.0/
-default_image=None
-default_flavor=m1.small
-default_security_group=default
-ca_ssl_cert=/etc/ssl/certs/ca-certificates.crt
-
-[observer]
-pretend=False
-backoff_disabled=True
-images_directory=/opt/xos/images
-dependency_graph=/opt/xos/model-deps
-logfile=/var/log/xos_backend.log
-save_ansible_output=True
-node_key={{ head_cord_profile_dir }}/node_key
-
-[gui]
-disable_minidashboard={{ disable_minidashboard }}
-branding_name={{ gui_branding_name }}
-branding_icon={{ gui_branding_icon }}
-branding_favicon={{ gui_branding_favicon }}
-branding_bg={{ gui_branding_bg }}
-{% if gui_service_view_class %}
-service_view_class={{ gui_service_view_class }}
-{% endif %}
-
-{% if use_vtn %}
-[networking]
-use_vtn=True
-{% endif %}