diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2016-02-19 16:49:18 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2016-02-20 13:05:14 +0000 |
commit | 3b6cdf2b50f190a24ad0afb677262fd244112e3d (patch) | |
tree | 87e304dab096f5d82ad30d35897e4c79d1ae5086 | |
parent | 122bfb731b7022864a6ae6557d9e0430c4e83500 (diff) | |
download | infrastructure-3b6cdf2b50f190a24ad0afb677262fd244112e3d.tar.gz |
Fix backup configuration
The frontend's internal IP has changed due to redeployment, so we need
to update the whitelisted IP. Also, Fedora 23 doesn't contain the
Python 2 version of PyYAML which the backup-snapshot script requires.
It would be good to just require Python3 for backup-snapshot, but I
don't have time to fix up all the issues with that right now.
Change-Id: Ica6302ff288255870511f1c19ec61c324dcd4288
-rw-r--r-- | baserock_database/instance-backup-config.yml | 5 | ||||
-rw-r--r-- | baserock_gerrit/instance-backup-config.yml | 2 | ||||
-rw-r--r-- | baserock_storyboard/instance-backup-config.yml | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/baserock_database/instance-backup-config.yml b/baserock_database/instance-backup-config.yml index 7919ed87..d04e809b 100644 --- a/baserock_database/instance-backup-config.yml +++ b/baserock_database/instance-backup-config.yml @@ -4,8 +4,11 @@ gather_facts: false sudo: yes vars: - FRONTEND_IP: 192.168.222.116 + FRONTEND_IP: 192.168.222.143 tasks: + - name: pyyaml for Python 2 + dnf: PyYAML state=latest + - name: backup-snapshot script copy: src=../backup-snapshot dest=/usr/bin/backup-snapshot mode=755 diff --git a/baserock_gerrit/instance-backup-config.yml b/baserock_gerrit/instance-backup-config.yml index 04cc8fdd..cc647285 100644 --- a/baserock_gerrit/instance-backup-config.yml +++ b/baserock_gerrit/instance-backup-config.yml @@ -3,7 +3,7 @@ - hosts: gerrit gather_facts: false vars: - FRONTEND_IP: 192.168.222.116 + FRONTEND_IP: 192.168.222.143 tasks: - name: backup-snapshot script copy: src=../backup-snapshot dest=/usr/bin/backup-snapshot mode=755 diff --git a/baserock_storyboard/instance-backup-config.yml b/baserock_storyboard/instance-backup-config.yml index 124dabc9..0d011f8d 100644 --- a/baserock_storyboard/instance-backup-config.yml +++ b/baserock_storyboard/instance-backup-config.yml @@ -4,7 +4,7 @@ gather_facts: false sudo: yes vars: - FRONTEND_IP: 192.168.222.116 + FRONTEND_IP: 192.168.222.143 tasks: - name: backup-snapshot script copy: src=../backup-snapshot dest=/usr/bin/backup-snapshot mode=755 |