Browse Source

Merge "Modifying playbooks to support python-tripleoclient B&R commands" into stable/train

changes/91/779791/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
fec37d2710
6 changed files with 153 additions and 15 deletions
  1. +31
    -0
      tripleo_ansible/playbooks/cli-overcloud-backup.yaml
  2. +38
    -15
      tripleo_ansible/playbooks/cli-undercloud-backup-legacy.yaml
  3. +21
    -0
      tripleo_ansible/playbooks/cli-undercloud-backup.yaml
  4. +21
    -0
      tripleo_ansible/playbooks/prepare-nfs-backup.yaml
  5. +21
    -0
      tripleo_ansible/playbooks/prepare-overcloud-backup.yaml
  6. +21
    -0
      tripleo_ansible/playbooks/prepare-undercloud-backup.yaml

+ 31
- 0
tripleo_ansible/playbooks/cli-overcloud-backup.yaml View File

@ -0,0 +1,31 @@
---
# Copyright 2020 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- become: true
hosts: ceph_mon
name: Backup ceph authentication
tasks:
- name: Backup ceph authentication role
include_role:
name: backup-and-restore
tasks_from: ceph_authentication
tags:
- bar_create_recover_image
- name: TripleO Controller backup.
hosts: Controller
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
become: true
roles:
- role: backup-and-restore

tripleo_ansible/playbooks/undercloud_backup.yaml → tripleo_ansible/playbooks/cli-undercloud-backup-legacy.yaml View File


+ 21
- 0
tripleo_ansible/playbooks/cli-undercloud-backup.yaml View File

@ -0,0 +1,21 @@
---
# Copyright 2019 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: TripleO Undercloud backup.
hosts: Undercloud
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
become: true
roles:
- role: backup-and-restore

+ 21
- 0
tripleo_ansible/playbooks/prepare-nfs-backup.yaml View File

@ -0,0 +1,21 @@
---
# Copyright 2020 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: TripleO BackupNode NFS installation and configuration.
hosts: BackupNode
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
become: true
roles:
- role: backup-and-restore

+ 21
- 0
tripleo_ansible/playbooks/prepare-overcloud-backup.yaml View File

@ -0,0 +1,21 @@
---
# Copyright 2020 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: TripleO Controller ReaR installation and configuration.
hosts: Controller
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
become: true
roles:
- role: backup-and-restore

+ 21
- 0
tripleo_ansible/playbooks/prepare-undercloud-backup.yaml View File

@ -0,0 +1,21 @@
---
# Copyright 2020 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
- name: TripleO Undercloud ReaR installation and configuration.
hosts: Undercloud
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
become: true
roles:
- role: backup-and-restore

Loading…
Cancel
Save