RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
Go to file
Juan Larriba 414c2dae80 Make execution of the backup idempotent
Currently, the playbook stops the services and the pacemaker to perform the backup. If the backup fails for whatever reason, the playbook cannot run again and fails due to the services being down. This patch fixes the issue in two directions. First, by using the block-always ansible feature, we ensure that whenever an error happens, the playbook will restart the pacemaker and the services before exiting.

The second direction is on the execution itself. By controlling certain actions, we ensure that the backup will be succesful not matter what state the services and the pacemaker are when the playbook is ran. This ensures success even in the case an operator stops the ansible execution manually (which will not trigger the 'always' condition).

BZ: #1954818
Change-Id: Id2aff61f219b0c4992f6f0045f1aba2c7d129758
(cherry picked from commit 9a865d1769)
2021-05-31 14:18:19 +00:00
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
_skeleton_role_ Use centos-8 stream for molecule jobs 2021-04-28 22:14:28 +03:00
doc Merge "Add tripleo_multipathd role" 2020-10-23 16:49:12 +00:00
releasenotes Fix check for existing nvdimm namespaces 2020-12-17 10:54:37 +00:00
scripts Add constraint for local testing 2020-10-08 14:37:23 -05:00
tests Merge "Convert tox to native zuul" 2019-07-08 14:18:00 +00:00
tripleo_ansible Make execution of the backup idempotent 2021-05-31 14:18:19 +00:00
zuul.d Merge "Fix ovs_dpdk molecule job to work with stream node" into stable/victoria 2021-05-03 11:36:50 +00:00
.ansible-lint Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
.gitignore Adding playbook support for changes coming to python-tripleoclient. 2020-06-05 17:19:41 -04:00
.gitreview Update .gitreview for stable/victoria 2020-10-30 15:50:53 +00:00
.pre-commit-config.yaml Pin ansible to 2.9 in ansible-lint deps 2020-09-25 18:04:28 +03:00
.stestr.conf Introduce unit tests structure for tripleo-ansible filters 2019-12-02 22:26:16 +00:00
.yamllint Re-organize zuul config 2019-06-19 12:52:07 -05:00
LICENSE normalize newlines at end of file 2019-11-12 15:06:58 +00:00
README.rst Fix launchpad tracker in README.rst 2019-09-29 10:08:38 +02:00
ansible-requirements.txt Fix ci issues 2020-12-15 11:24:05 -07:00
ansible-test-env.rc Molecule testing for TripleO Strategy Plugins 2020-06-03 20:07:10 +00:00
bindep.txt Drop tasks meant to run run_os_net_config.sh 2020-09-26 10:23:43 +05:30
molecule-requirements.txt Fix ci issues 2020-12-15 11:24:05 -07:00
requirements.txt Fix ci issues 2020-12-15 11:24:05 -07:00
role-addition.yml role-addition: automatically add the new molecule jobs into periodic 2020-05-07 13:17:28 -04:00
roles Revert "Remove roles symlink" 2019-10-28 21:43:35 +00:00
setup.cfg Cleanup after rename-pocolyps 2020-04-02 07:56:20 -05:00
setup.py Initial repo content 2018-07-17 16:36:40 -07:00
test-requirements.txt Add mock to test-requirements 2020-07-07 15:42:21 +03:00
tox.ini Fix ci issues 2020-12-15 11:24:05 -07:00

README.rst

Team and repository tags

image

TripleO Ansible

TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.

Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/

The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/

The project home is at: https://launchpad.net/tripleo

The project bug tracker is located at: https://bugs.launchpad.net/tripleo