6bcdb4fddf
This can be used for temporary persisting data on undercloud if we want to reprovision the overcloud nodes. Change-Id: If059c477cb2d344fa4c00ce4ea89269c4ef747bd Implements: blueprint upgrades-with-os
21 lines
653 B
YAML
21 lines
653 B
YAML
- hosts: overcloud-controller-0
|
|
become: true
|
|
tasks:
|
|
- name: test tripleo-persist persistence
|
|
include_role:
|
|
name: tripleo-persist
|
|
tasks_from: persist.yml
|
|
vars:
|
|
tripleo_persist_dir: /testdir/testsubdir
|
|
tripleo_persist_storage_root_dir: /home/stack/tripleo-persist
|
|
when: persist|default(false)|bool
|
|
|
|
- name: test tripleo-persist restoration
|
|
include_role:
|
|
name: tripleo-persist
|
|
tasks_from: restore.yml
|
|
vars:
|
|
tripleo_persist_dir: /testdir/testsubdir
|
|
tripleo_persist_storage_root_dir: /home/stack/tripleo-persist
|
|
when: restore|default(false)|bool
|