Browse Source

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>
changes/50/654050/1
Paul Belanger 3 years ago
parent
commit
cc7f5fae14
  1. 12
      playbooks/borg-client.yaml
  2. 8
      playbooks/borg-server.yaml
  3. 6
      tools/requirements.yaml

12
playbooks/borg-client.yaml

@ -16,17 +16,17 @@
hosts: borg-client:!disabled
tasks:
- name: Setup openstack.borgbackup role
- name: Setup windmill.borgbackup role
include_role:
name: openstack.borgbackup
name: windmill.borgbackup
vars:
borgbackup_task_manager:
- pre
- install
- name: Setup openstack.borgmatic role
- name: Setup windmill.borgmatic role
include_role:
name: openstack.borgmatic
name: windmill.borgmatic
- name: Generage borgbackup SSH keys
become: true
@ -52,11 +52,11 @@
src: ~/.ssh/id_rsa.pub
register: borg_id_rsa_pub
- name: Setup openstack.ssh role
- name: Setup windmill.ssh role
become: true
become_user: "borg_{{ inventory_hostname_short }}"
include_role:
name: openstack.ssh
name: windmill.ssh
apply:
delegate_to: "{{ item }}"
vars:

8
playbooks/borg-server.yaml

@ -16,9 +16,9 @@
hosts: borg-server:!disabled
tasks:
- name: Setup openstack.borgbackup role
- name: Setup windmill.borgbackup role
include_role:
name: openstack.borgbackup
name: windmill.borgbackup
- name: Ensure /opt/backups exists
become: true
@ -27,9 +27,9 @@
state: directory
mode: 0755
- name: Setup openstack.borgbackup role
- name: Setup windmill.borgbackup role
include_role:
name: openstack.borgbackup
name: windmill.borgbackup
vars:
borgbackup_task_manager:
- pre

6
tools/requirements.yaml

@ -1,9 +1,9 @@
---
- name: openstack.borgbackup
- name: windmill.borgbackup
src: git+https://opendev.org/windmill/ansible-role-borgbackup
- name: openstack.borgmatic
- name: windmill.borgmatic
src: git+https://opendev.org/windmill/ansible-role-borgmatic
- name: openstack.ssh
- name: windmill.ssh
src: git+https://opendev.org/windmill/ansible-role-ssh

Loading…
Cancel
Save