Commit Graph

13 Commits

Author SHA1 Message Date
Paul Belanger ee4386a976 Skip Initialize an empty borg repository when disabled
It is possible that borg-server is empty, if so, don't run init.

Also, fix CI issues due to bitrot.

Change-Id: I0f3a4a71ce095f6fe2916ab0151516849d6e07c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-03-19 20:26:55 -04:00
Paul Belanger cc7f5fae14 Rename roles from openstack to windmill
Now that opendev.org is live, we can now use the proper name for our
roles.

Change-Id: I44699d0cf7569122181ba10ad7aee76dcf253a43
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-04-20 15:39:37 -04:00
Paul Belanger e31045b9e3 Migrate to opendev for testing
Clean up some failures with migration to opendev.org.

Change-Id: I4fe3ca83cc20fa73515f5a9089b9d6914ea1ec05
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-04-20 14:49:38 -04:00
OpenDev Sysadmins 315d52d620 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:07 +00:00
Paul Belanger 7eb523afbd Switch back to inventory_hostname_short for borg user
This is because it is possible for a inventory_hostname to be larger
then 32 chars, the limit for adduser. Changes are much smaller of that
happening with inventory_hostname_short.

Change-Id: Ibdcccf5e82d64117e70985348415ecc0404b1a24
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-03-19 12:49:02 -04:00
Paul Belanger 1673799e39 Fix bug with inventory_hostname
We had a mismatch between borg-master / borg-client, as such just use
inventory_hostname everywhere.

Change-Id: Id26d8523d6f05804e6e53b378881f123dcd26be6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-03-17 18:56:18 -04:00
Paul Belanger ec54380d3e Install roles into ~/.ansible/roles
This allows for us to managed multiple project roles in a single
location.

Change-Id: I99e9f4d942ce6bebbe705db1f2df276371249777
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-27 21:51:25 -05:00
Paul Belanger 2d51431488 Initialize an empty borg repository
This is the next step to get borgbackup / borgmatic working.

Change-Id: Ib1dc15fbd251262cf527a7cec8e86d9212e65fbb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-16 14:05:41 -05:00
Paul Belanger bd4f3bbdad Ensure borgmatic configuration is setup for borgbackup
This adds support for the borgmatic default configuration file.

Change-Id: I3023ad0402c42aa48a1df009f29f0397cc17f87d
Depends-On: https://review.openstack.org/636766
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-13 21:28:05 -05:00
Paul Belanger cbc1456562 Add windmill-backup to required-projects
This allows us to run the windmill-backup jobs on other projects.

Change-Id: Ia9cb1b07934ac942fb087a7f715e1e0068480f51
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-13 21:03:29 -05:00
Paul Belanger 885b6c922e Create borg inventory group
This adds both borg-client and borg-server into a single inventory
group. This will allow us to target specific settings.

Change-Id: Ia63a373b59452347f560825f7a3efbb382606c5e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-11 21:52:59 -05:00
Paul Belanger 38b86dab3a Initial commit
Change-Id: I5bc70f92d61a9abe88c75e28c30d9147a7687276
Depends-On: https://review.openstack.org/633544
Depends-On: https://review.openstack.org/633630
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-11 14:49:05 -05:00
OpenStack Project Creator 2a78accc9b Added .gitreview 2019-01-30 21:55:17 +00:00