WR for PROD-21132
Change nginx default conf that comes from package from 80
to 8181 as 80 is already used by apache
Change-Id: Ia9c137c9c7bb2714f9d88bd52cc42655be78b007
diff --git a/tcp_tests/templates/shared-backup-restore.yaml b/tcp_tests/templates/shared-backup-restore.yaml
index 2ec4d5d..79a165e 100644
--- a/tcp_tests/templates/shared-backup-restore.yaml
+++ b/tcp_tests/templates/shared-backup-restore.yaml
@@ -1,6 +1,16 @@
{# Collection of common macroses shared across different deployments #}
{%- macro MACRO_BACKUP_BACKUPNINJA() %}
+
+- description: WR for https://mirantis.jira.com/browse/PROD-21132
+ cmd: |
+ sed -i 's/listen \[\:\:\]\:80/listen \[\:\:\]\:8181/g' /etc/nginx/sites-available/default ;
+ sed -i 's/listen 80 default_server/listen 8181 default_server/g' /etc/nginx/sites-available/default ;
+ systemctl restart nginx;
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 1, delay: 1}
+ skip_fail: false
+
- description: Apply backup state on minions
cmd: salt -C 'I@backupninja:server or backupninja:client' state.sls salt.minion
node_name: {{ HOSTNAME_CFG01 }}