Deprecate openstack-ansible-galera_client role
Since we moved all functionality of galera-client part to galera-server role there's no sense in futher keeping and branching of client part. Depends-On: https://review.opendev.org/c/openstack/project-config/+/765777 Change-Id: I1623dbc80bee4eb7d889ee570d0ce27697b58cea
This commit is contained in:
parent
3f7b333d95
commit
d3ef8b1256
|
@ -1,69 +0,0 @@
|
||||||
# Add patterns in here to exclude files created by tools integrated with this
|
|
||||||
# repository, such as test frameworks from the project's recommended workflow,
|
|
||||||
# rendered documentation and package builds.
|
|
||||||
#
|
|
||||||
# Don't add patterns to exclude files created by preferred personal tools
|
|
||||||
# (editors, IDEs, your operating system itself even). These should instead be
|
|
||||||
# maintained outside the repository, for example in a ~/.gitignore file added
|
|
||||||
# with:
|
|
||||||
#
|
|
||||||
# git config --global core.excludesfile '~/.gitignore'
|
|
||||||
|
|
||||||
# Compiled source #
|
|
||||||
###################
|
|
||||||
*.com
|
|
||||||
*.class
|
|
||||||
*.dll
|
|
||||||
*.exe
|
|
||||||
*.o
|
|
||||||
*.so
|
|
||||||
*.pyc
|
|
||||||
build/
|
|
||||||
dist/
|
|
||||||
doc/build/
|
|
||||||
|
|
||||||
# Packages #
|
|
||||||
############
|
|
||||||
# it's better to unpack these files and commit the raw source
|
|
||||||
# git has its own built in compression methods
|
|
||||||
*.7z
|
|
||||||
*.dmg
|
|
||||||
*.gz
|
|
||||||
*.iso
|
|
||||||
*.jar
|
|
||||||
*.rar
|
|
||||||
*.tar
|
|
||||||
*.zip
|
|
||||||
|
|
||||||
# Logs and databases #
|
|
||||||
######################
|
|
||||||
*.log
|
|
||||||
*.sql
|
|
||||||
*.sqlite
|
|
||||||
logs/*
|
|
||||||
|
|
||||||
# OS generated files #
|
|
||||||
######################
|
|
||||||
._*
|
|
||||||
.tox
|
|
||||||
*.egg-info
|
|
||||||
.eggs
|
|
||||||
|
|
||||||
# Generated by pbr while building docs
|
|
||||||
######################################
|
|
||||||
AUTHORS
|
|
||||||
ChangeLog
|
|
||||||
|
|
||||||
# Files created by releasenotes build
|
|
||||||
releasenotes/build
|
|
||||||
|
|
||||||
# Test temp files
|
|
||||||
tests/common
|
|
||||||
tests/*.retry
|
|
||||||
|
|
||||||
# Vagrant artifacts
|
|
||||||
.vagrant
|
|
||||||
|
|
||||||
# Git clones
|
|
||||||
openstack-ansible-ops
|
|
||||||
previous
|
|
|
@ -1,19 +0,0 @@
|
||||||
The source repository for this project can be found at:
|
|
||||||
|
|
||||||
https://opendev.org/openstack/openstack-ansible-galera_client
|
|
||||||
|
|
||||||
Pull requests submitted through GitHub are not monitored.
|
|
||||||
|
|
||||||
To start contributing to OpenStack, follow the steps in the contribution guide
|
|
||||||
to set up and use Gerrit:
|
|
||||||
|
|
||||||
https://docs.openstack.org/contributors/code-and-documentation/quick-start.html
|
|
||||||
|
|
||||||
Bugs should be filed on Launchpad:
|
|
||||||
|
|
||||||
https://bugs.launchpad.net/openstack-ansible
|
|
||||||
|
|
||||||
For more specific information about contributing to this repository, see the
|
|
||||||
openstack-ansible contributor guide:
|
|
||||||
|
|
||||||
https://docs.openstack.org/openstack-ansible/latest/contributor/contributing.html
|
|
202
LICENSE
202
LICENSE
|
@ -1,202 +0,0 @@
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright {yyyy} {name of copyright owner}
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
36
README.rst
36
README.rst
|
@ -1,29 +1,13 @@
|
||||||
========================
|
This project is no longer maintained.
|
||||||
Team and repository tags
|
|
||||||
========================
|
|
||||||
|
|
||||||
.. image:: https://governance.openstack.org/tc/badges/openstack-ansible-galera_client.svg
|
The contents of this repository are still available in the Git
|
||||||
:target: https://governance.openstack.org/tc/reference/tags/index.html
|
source code management system. To see the contents of this
|
||||||
|
repository before it reached its end of life, please check out the
|
||||||
|
previous commit with "git checkout HEAD^1".
|
||||||
|
|
||||||
.. Change things from this point on
|
For an alternative project, please see openstack-ansible-galera_server at
|
||||||
|
https://opendev.org/openstack/openstack-ansible-galera_server.
|
||||||
|
|
||||||
===============================
|
For any further questions, please email
|
||||||
OpenStack-Ansible Galera client
|
openstack-discuss@lists.openstack.org or join #openstack-ansible on
|
||||||
===============================
|
Freenode.
|
||||||
|
|
||||||
Documentation for the project can be found at:
|
|
||||||
https://docs.openstack.org/openstack-ansible-galera_client/latest
|
|
||||||
|
|
||||||
Role dependencies and requirements are on this documentation page.
|
|
||||||
|
|
||||||
Release notes for the project can be found at:
|
|
||||||
https://docs.openstack.org/releasenotes/openstack-ansible-galera_client/
|
|
||||||
|
|
||||||
The project source code repository is located at:
|
|
||||||
https://opendev.org/openstack/openstack-ansible-galera_client/
|
|
||||||
|
|
||||||
The project home is at:
|
|
||||||
https://launchpad.net/openstack-ansible
|
|
||||||
|
|
||||||
The project bug tracker is located at:
|
|
||||||
https://bugs.launchpad.net/openstack-ansible
|
|
||||||
|
|
|
@ -1,62 +0,0 @@
|
||||||
# Note:
|
|
||||||
# This file is maintained in the openstack-ansible-tests repository.
|
|
||||||
# https://opendev.org/openstack/openstack-ansible-tests/src/Vagrantfile
|
|
||||||
#
|
|
||||||
# If you need to perform any change on it, you should modify the central file,
|
|
||||||
# then, an OpenStack CI job will propagate your changes to every OSA repository
|
|
||||||
# since every repo uses the same Vagrantfile
|
|
||||||
|
|
||||||
# Verify whether required plugins are installed.
|
|
||||||
required_plugins = [ "vagrant-disksize" ]
|
|
||||||
required_plugins.each do |plugin|
|
|
||||||
if not Vagrant.has_plugin?(plugin)
|
|
||||||
raise "The vagrant plugin #{plugin} is required. Please run `vagrant plugin install #{plugin}`"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
Vagrant.configure(2) do |config|
|
|
||||||
config.vm.provider "virtualbox" do |v|
|
|
||||||
v.memory = 6144
|
|
||||||
v.cpus = 2
|
|
||||||
# https://github.com/hashicorp/vagrant/issues/9524
|
|
||||||
v.customize ["modifyvm", :id, "--audio", "none"]
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.synced_folder ".", "/vagrant", type: "rsync"
|
|
||||||
|
|
||||||
config.vm.provision "shell",
|
|
||||||
privileged: false,
|
|
||||||
inline: <<-SHELL
|
|
||||||
cd /vagrant
|
|
||||||
./run_tests.sh
|
|
||||||
SHELL
|
|
||||||
|
|
||||||
config.vm.define "centos8" do |centos8|
|
|
||||||
centos8.vm.box = "centos/8"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "debian8" do |debian8|
|
|
||||||
debian8.vm.box = "debian/jessie64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "debian9" do |debian9|
|
|
||||||
debian9.vm.box = "debian/stretch64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "gentoo" do |gentoo|
|
|
||||||
gentoo.vm.box = "generic/gentoo"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "opensuse150" do |leap150|
|
|
||||||
leap150.vm.box = "opensuse/openSUSE-15.0-x86_64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "opensuse151" do |leap151|
|
|
||||||
leap151.vm.box = "opensuse/openSUSE-15.1-x86_64"
|
|
||||||
end
|
|
||||||
|
|
||||||
config.vm.define "ubuntu1804" do |bionic|
|
|
||||||
bionic.disksize.size = "40GB"
|
|
||||||
bionic.vm.box = "ubuntu/bionic64"
|
|
||||||
end
|
|
||||||
end
|
|
50
bindep.txt
50
bindep.txt
|
@ -1,50 +0,0 @@
|
||||||
# This file facilitates OpenStack-CI package installation
|
|
||||||
# before the execution of any tests.
|
|
||||||
#
|
|
||||||
# See the following for details:
|
|
||||||
# - https://docs.openstack.org/infra/bindep/
|
|
||||||
# - https://opendev.org/openstack-infra/bindep
|
|
||||||
#
|
|
||||||
# Even if the role does not make use of this facility, it
|
|
||||||
# is better to have this file empty, otherwise OpenStack-CI
|
|
||||||
# will fall back to installing its default packages which
|
|
||||||
# will potentially be detrimental to the tests executed.
|
|
||||||
#
|
|
||||||
# Note:
|
|
||||||
# This file is maintained in the openstack-ansible-tests repository.
|
|
||||||
# https://opendev.org/openstack/openstack-ansible-tests/src/bindep.txt
|
|
||||||
# If you need to remove or add extra dependencies, you should modify
|
|
||||||
# the central file instead and once your change is accepted then update
|
|
||||||
# this file as well. The purpose of this file is to ensure that Python and
|
|
||||||
# Ansible have all their necessary binary requirements on the test host before
|
|
||||||
# tox executes. Any binary requirements needed by services/roles should be
|
|
||||||
# installed by those roles in their applicable package install tasks, not through
|
|
||||||
# using this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
# The gcc compiler
|
|
||||||
gcc
|
|
||||||
|
|
||||||
# Base requirements for Ubuntu
|
|
||||||
git-core [platform:dpkg platform:suse]
|
|
||||||
libssl-dev [platform:dpkg]
|
|
||||||
libffi-dev [platform:dpkg]
|
|
||||||
python3 [platform:dpkg]
|
|
||||||
python3-apt [platform:dpkg]
|
|
||||||
python3-dev [platform:dpkg]
|
|
||||||
|
|
||||||
# Base requirements for RPM distros
|
|
||||||
gcc-c++ [platform:rpm]
|
|
||||||
git [platform:rpm !platform:suse]
|
|
||||||
libffi-devel [platform:rpm]
|
|
||||||
openssl-devel [platform:rpm]
|
|
||||||
python3-dnf [platform:fedora]
|
|
||||||
python3-devel [platform:rpm]
|
|
||||||
|
|
||||||
# Base requirements for Gentoo
|
|
||||||
git [platform:gentoo]
|
|
||||||
|
|
||||||
# For SELinux
|
|
||||||
libselinux-python3 [platform:redhat]
|
|
||||||
libsemanage-python3 [platform:redhat]
|
|
||||||
iptables [platform:redhat]
|
|
|
@ -1,73 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2014, Rackspace US, 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.
|
|
||||||
|
|
||||||
galera_cluster_members: "{{ groups['galera_all'] }}"
|
|
||||||
|
|
||||||
# Default galera connection address
|
|
||||||
galera_address: 127.0.0.1
|
|
||||||
galera_root_user: root
|
|
||||||
|
|
||||||
# Set the URL for the MariaDB repository
|
|
||||||
galera_repo_host: downloads.mariadb.com
|
|
||||||
galera_client_repo_url: "{{ galera_repo_url | default(_galera_client_repo_url) }}"
|
|
||||||
|
|
||||||
# Set the major version to use for the galera repo
|
|
||||||
galera_client_major_version: 10.3
|
|
||||||
galera_client_minor_version: 18
|
|
||||||
|
|
||||||
# Set the repo information for the MariaDB repository
|
|
||||||
galera_client_repo: "{{ _galera_client_repo }}"
|
|
||||||
|
|
||||||
# Set the gpg keys needed to be imported
|
|
||||||
# This should be a list of dicts, with each dict
|
|
||||||
# giving a set of arguments to the applicable
|
|
||||||
# package module. The following is an example for
|
|
||||||
# systems using the apt package manager.
|
|
||||||
# galera_client_gpg_keys:
|
|
||||||
# - id: '0xF1656F24C74CD1D8'
|
|
||||||
# keyserver: 'hkp://keyserver.ubuntu.com:80'
|
|
||||||
# validate_certs: no
|
|
||||||
galera_client_gpg_keys: "{{ _galera_client_gpg_keys | default([]) }}"
|
|
||||||
|
|
||||||
# This is only applied if the ansible_pkg_mgr is 'apt'
|
|
||||||
galera_client_distro_package_pins: [{ package: "*", release: MariaDB, priority: "1001" }]
|
|
||||||
|
|
||||||
## APT Cache Options
|
|
||||||
cache_timeout: 600
|
|
||||||
|
|
||||||
# Set the package install state for distribution packages
|
|
||||||
# Options are 'present' and 'latest'
|
|
||||||
galera_client_package_state: "latest"
|
|
||||||
|
|
||||||
galera_client_drop_config_file: false
|
|
||||||
galera_client_package_install: true
|
|
||||||
|
|
||||||
galera_client_fatal_deprecations: false
|
|
||||||
|
|
||||||
## Tunable overrides
|
|
||||||
galera_client_my_cnf_overrides: {}
|
|
||||||
|
|
||||||
mariadb_repo_filename: "MariaDB"
|
|
||||||
|
|
||||||
# SSL support
|
|
||||||
galera_use_ssl: false
|
|
||||||
# This server is used when pulling an ssl cert onto a given host when a user
|
|
||||||
# defined key is not present. By default this will try and pull from the
|
|
||||||
# "galera_server" group and fall back to localhost.
|
|
||||||
galera_ssl_server: "{{ (galera_cluster_members | default(['localhost']))[0] }}"
|
|
||||||
# The path where to store the database server CA certificate
|
|
||||||
galera_ssl_ca_cert: /etc/ssl/certs/galera-ca.pem
|
|
||||||
# The path to Galera CA certificate file on the deployment host
|
|
||||||
# galera_user_ssl_ca_cert: /etc/openstack_deploy/self_signed_certs/galera-ca.pem
|
|
195
doc/Makefile
195
doc/Makefile
|
@ -1,195 +0,0 @@
|
||||||
# Makefile for Sphinx documentation
|
|
||||||
#
|
|
||||||
|
|
||||||
# You can set these variables from the command line.
|
|
||||||
SPHINXOPTS =
|
|
||||||
SPHINXBUILD = sphinx-build
|
|
||||||
PAPER =
|
|
||||||
BUILDDIR = build
|
|
||||||
|
|
||||||
# User-friendly check for sphinx-build
|
|
||||||
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
|
||||||
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Internal variables.
|
|
||||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
||||||
PAPEROPT_letter = -D latex_paper_size=letter
|
|
||||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
|
||||||
# the i18n builder cannot share the environment and doctrees with the others
|
|
||||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
|
||||||
|
|
||||||
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext
|
|
||||||
|
|
||||||
help:
|
|
||||||
@echo "Please use \`make <target>' where <target> is one of"
|
|
||||||
@echo " html to make standalone HTML files"
|
|
||||||
@echo " dirhtml to make HTML files named index.html in directories"
|
|
||||||
@echo " singlehtml to make a single large HTML file"
|
|
||||||
@echo " pickle to make pickle files"
|
|
||||||
@echo " json to make JSON files"
|
|
||||||
@echo " htmlhelp to make HTML files and a HTML help project"
|
|
||||||
@echo " qthelp to make HTML files and a qthelp project"
|
|
||||||
@echo " applehelp to make an Apple Help Book"
|
|
||||||
@echo " devhelp to make HTML files and a Devhelp project"
|
|
||||||
@echo " epub to make an epub"
|
|
||||||
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
|
||||||
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
||||||
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
|
|
||||||
@echo " text to make text files"
|
|
||||||
@echo " man to make manual pages"
|
|
||||||
@echo " texinfo to make Texinfo files"
|
|
||||||
@echo " info to make Texinfo files and run them through makeinfo"
|
|
||||||
@echo " gettext to make PO message catalogs"
|
|
||||||
@echo " changes to make an overview of all changed/added/deprecated items"
|
|
||||||
@echo " xml to make Docutils-native XML files"
|
|
||||||
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
|
|
||||||
@echo " linkcheck to check all external links for integrity"
|
|
||||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
||||||
@echo " coverage to run coverage check of the documentation (if enabled)"
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(BUILDDIR)/*
|
|
||||||
|
|
||||||
html:
|
|
||||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
|
||||||
|
|
||||||
dirhtml:
|
|
||||||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
|
||||||
|
|
||||||
singlehtml:
|
|
||||||
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
|
||||||
|
|
||||||
pickle:
|
|
||||||
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
|
||||||
@echo
|
|
||||||
@echo "Build finished; now you can process the pickle files."
|
|
||||||
|
|
||||||
json:
|
|
||||||
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
|
||||||
@echo
|
|
||||||
@echo "Build finished; now you can process the JSON files."
|
|
||||||
|
|
||||||
htmlhelp:
|
|
||||||
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
|
||||||
@echo
|
|
||||||
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
|
||||||
".hhp project file in $(BUILDDIR)/htmlhelp."
|
|
||||||
|
|
||||||
qthelp:
|
|
||||||
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
|
||||||
@echo
|
|
||||||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
|
||||||
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
|
||||||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/openstack-ansible-galera_client.qhcp"
|
|
||||||
@echo "To view the help file:"
|
|
||||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/openstack-ansible-galera_client.qhc"
|
|
||||||
|
|
||||||
applehelp:
|
|
||||||
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
|
|
||||||
@echo "N.B. You won't be able to view it unless you put it in" \
|
|
||||||
"~/Library/Documentation/Help or install it in your application" \
|
|
||||||
"bundle."
|
|
||||||
|
|
||||||
devhelp:
|
|
||||||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
|
||||||
@echo
|
|
||||||
@echo "Build finished."
|
|
||||||
@echo "To view the help file:"
|
|
||||||
@echo "# mkdir -p $$HOME/.local/share/devhelp/openstack-ansible-galera_client"
|
|
||||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/openstack-ansible-galera_client"
|
|
||||||
@echo "# devhelp"
|
|
||||||
|
|
||||||
epub:
|
|
||||||
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
|
||||||
|
|
||||||
latex:
|
|
||||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
||||||
@echo
|
|
||||||
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
|
||||||
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
|
||||||
"(use \`make latexpdf' here to do that automatically)."
|
|
||||||
|
|
||||||
latexpdf:
|
|
||||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
||||||
@echo "Running LaTeX files through pdflatex..."
|
|
||||||
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
|
||||||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
||||||
|
|
||||||
latexpdfja:
|
|
||||||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
|
||||||
@echo "Running LaTeX files through platex and dvipdfmx..."
|
|
||||||
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
|
|
||||||
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
|
||||||
|
|
||||||
text:
|
|
||||||
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
|
||||||
|
|
||||||
man:
|
|
||||||
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
||||||
|
|
||||||
texinfo:
|
|
||||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
|
||||||
@echo "Run \`make' in that directory to run these through makeinfo" \
|
|
||||||
"(use \`make info' here to do that automatically)."
|
|
||||||
|
|
||||||
info:
|
|
||||||
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
||||||
@echo "Running Texinfo files through makeinfo..."
|
|
||||||
make -C $(BUILDDIR)/texinfo info
|
|
||||||
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
|
||||||
|
|
||||||
gettext:
|
|
||||||
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
|
||||||
|
|
||||||
changes:
|
|
||||||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
|
||||||
@echo
|
|
||||||
@echo "The overview file is in $(BUILDDIR)/changes."
|
|
||||||
|
|
||||||
linkcheck:
|
|
||||||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
|
||||||
@echo
|
|
||||||
@echo "Link check complete; look for any errors in the above output " \
|
|
||||||
"or in $(BUILDDIR)/linkcheck/output.txt."
|
|
||||||
|
|
||||||
doctest:
|
|
||||||
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
|
||||||
@echo "Testing of doctests in the sources finished, look at the " \
|
|
||||||
"results in $(BUILDDIR)/doctest/output.txt."
|
|
||||||
|
|
||||||
coverage:
|
|
||||||
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
|
|
||||||
@echo "Testing of coverage in the sources finished, look at the " \
|
|
||||||
"results in $(BUILDDIR)/coverage/python.txt."
|
|
||||||
|
|
||||||
xml:
|
|
||||||
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
|
|
||||||
|
|
||||||
pseudoxml:
|
|
||||||
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
|
||||||
@echo
|
|
||||||
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
|
||||||
|
|
||||||
livehtml: html
|
|
||||||
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
|
@ -1,16 +0,0 @@
|
||||||
# The order of packages is significant, because pip processes them in the order
|
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
|
||||||
# process, which may cause wedges in the gate later.
|
|
||||||
|
|
||||||
# WARNING:
|
|
||||||
# This file is maintained in the openstack-ansible-tests repository.
|
|
||||||
# https://opendev.org/openstack/openstack-ansible-tests/src/branch/master/sync/doc/requirements.txt
|
|
||||||
# If you need to modify this file, update the one in the
|
|
||||||
# openstack-ansible-tests repository. Once it merges there, the changes will
|
|
||||||
# automatically be proposed to all the repositories which use it.
|
|
||||||
|
|
||||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
|
||||||
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
|
|
||||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
|
||||||
reno>=3.1.0 # Apache-2.0
|
|
||||||
doc8>=0.6.0 # Apache-2.0
|
|
|
@ -1,297 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# This file is execfile()d with the current directory set to its
|
|
||||||
# containing dir.
|
|
||||||
#
|
|
||||||
# Note that not all possible configuration values are present in this
|
|
||||||
# autogenerated file.
|
|
||||||
#
|
|
||||||
# All configuration values have a default; values that are commented out
|
|
||||||
# serve to show the default.
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
||||||
# sys.path.insert(0, os.path.abspath('.'))
|
|
||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
|
||||||
# needs_sphinx = '1.0'
|
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
||||||
# ones.
|
|
||||||
extensions = [
|
|
||||||
'openstackdocstheme',
|
|
||||||
'sphinx.ext.autodoc',
|
|
||||||
'sphinxcontrib.rsvgconverter',
|
|
||||||
]
|
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
|
||||||
templates_path = ['_templates']
|
|
||||||
|
|
||||||
# The suffix(es) of source filenames.
|
|
||||||
# You can specify multiple suffix as a list of string:
|
|
||||||
# source_suffix = ['.rst', '.md']
|
|
||||||
source_suffix = '.rst'
|
|
||||||
|
|
||||||
# The encoding of source files.
|
|
||||||
# source_encoding = 'utf-8-sig'
|
|
||||||
|
|
||||||
# The master toctree document.
|
|
||||||
master_doc = 'index'
|
|
||||||
|
|
||||||
# General information about the project.
|
|
||||||
author = 'OpenStack-Ansible Contributors'
|
|
||||||
category = 'Miscellaneous'
|
|
||||||
copyright = '2014-2016, OpenStack-Ansible Contributors'
|
|
||||||
description = 'OpenStack-Ansible deploys OpenStack environments using Ansible.'
|
|
||||||
project = 'OpenStack-Ansible'
|
|
||||||
role_name = 'galera_client'
|
|
||||||
target_name = 'openstack-ansible-' + role_name
|
|
||||||
title = 'OpenStack-Ansible Documentation: ' + role_name + ' role'
|
|
||||||
|
|
||||||
# openstackdocstheme options
|
|
||||||
openstackdocs_repo_name = 'openstack/' + target_name
|
|
||||||
openstackdocs_pdf_link = True
|
|
||||||
openstackdocs_bug_project = project.lower()
|
|
||||||
openstackdocs_bug_tag = ''
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
||||||
# for a list of supported languages.
|
|
||||||
#
|
|
||||||
# This is also used if you do content translation via gettext catalogs.
|
|
||||||
# Usually you set "language" from the command line for these cases.
|
|
||||||
language = None
|
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
|
||||||
# non-false value, then it is used:
|
|
||||||
# today = ''
|
|
||||||
# Else, today_fmt is used as the format for a strftime call.
|
|
||||||
# today_fmt = '%B %d, %Y'
|
|
||||||
|
|
||||||
# List of patterns, relative to source directory, that match files and
|
|
||||||
# directories to ignore when looking for source files.
|
|
||||||
exclude_patterns = []
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
|
||||||
# documents.
|
|
||||||
# default_role = None
|
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
|
||||||
# add_function_parentheses = True
|
|
||||||
|
|
||||||
# If true, the current module name will be prepended to all description
|
|
||||||
# unit titles (such as .. function::).
|
|
||||||
# add_module_names = True
|
|
||||||
|
|
||||||
# If true, sectionauthor and moduleauthor directives will be shown in the
|
|
||||||
# output. They are ignored by default.
|
|
||||||
# show_authors = False
|
|
||||||
|
|
||||||
# The name of the Pygments (syntax highlighting) style to use.
|
|
||||||
pygments_style = 'native'
|
|
||||||
|
|
||||||
# A list of ignored prefixes for module index sorting.
|
|
||||||
# modindex_common_prefix = []
|
|
||||||
|
|
||||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
|
||||||
# keep_warnings = False
|
|
||||||
|
|
||||||
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
|
||||||
todo_include_todos = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output ----------------------------------------------
|
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
||||||
# a list of builtin themes.
|
|
||||||
html_theme = 'openstackdocs'
|
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
|
||||||
# further. For a list of options available for each theme, see the
|
|
||||||
# documentation.
|
|
||||||
# html_theme_options = {}
|
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
|
||||||
# html_theme_path = []
|
|
||||||
|
|
||||||
# The name for this set of Sphinx documents. If None, it defaults to
|
|
||||||
# "<project> v<release> documentation".
|
|
||||||
# html_title = None
|
|
||||||
|
|
||||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
|
||||||
# html_short_title = None
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top
|
|
||||||
# of the sidebar.
|
|
||||||
# html_logo = None
|
|
||||||
|
|
||||||
# The name of an image file (within the static path) to use as favicon of the
|
|
||||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
||||||
# pixels large.
|
|
||||||
# html_favicon = None
|
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
|
||||||
# directly to the root of the documentation.
|
|
||||||
# html_extra_path = []
|
|
||||||
|
|
||||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
|
||||||
# typographically correct entities.
|
|
||||||
# html_use_smartypants = True
|
|
||||||
|
|
||||||
# Custom sidebar templates, maps document names to template names.
|
|
||||||
# html_sidebars = {}
|
|
||||||
|
|
||||||
# Additional templates that should be rendered to pages, maps page names to
|
|
||||||
# template names.
|
|
||||||
# html_additional_pages = {}
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# html_domain_indices = True
|
|
||||||
|
|
||||||
# If false, no index is generated.
|
|
||||||
# html_use_index = True
|
|
||||||
|
|
||||||
# If true, the index is split into individual pages for each letter.
|
|
||||||
# html_split_index = False
|
|
||||||
|
|
||||||
# If true, links to the reST sources are added to the pages.
|
|
||||||
# html_show_sourcelink = True
|
|
||||||
|
|
||||||
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
|
||||||
# html_show_sphinx = True
|
|
||||||
|
|
||||||
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
|
||||||
# html_show_copyright = True
|
|
||||||
|
|
||||||
# If true, an OpenSearch description file will be output, and all pages will
|
|
||||||
# contain a <link> tag referring to it. The value of this option must be the
|
|
||||||
# base URL from which the finished HTML is served.
|
|
||||||
# html_use_opensearch = ''
|
|
||||||
|
|
||||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
|
||||||
# html_file_suffix = None
|
|
||||||
|
|
||||||
# Language to be used for generating the HTML full-text search index.
|
|
||||||
# Sphinx supports the following languages:
|
|
||||||
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
|
|
||||||
# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr'
|
|
||||||
# html_search_language = 'en'
|
|
||||||
|
|
||||||
# A dictionary with options for the search language support, empty by default.
|
|
||||||
# Now only 'ja' uses this config value
|
|
||||||
# html_search_options = {'type': 'default'}
|
|
||||||
|
|
||||||
# The name of a javascript file (relative to the configuration directory) that
|
|
||||||
# implements a search results scorer. If empty, the default will be used.
|
|
||||||
# html_search_scorer = 'scorer.js'
|
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
|
||||||
htmlhelp_basename = target_name + '-docs'
|
|
||||||
|
|
||||||
# -- Options for LaTeX output ---------------------------------------------
|
|
||||||
|
|
||||||
latex_elements = {
|
|
||||||
# The paper size ('letterpaper' or 'a4paper').
|
|
||||||
# 'papersize': 'letterpaper',
|
|
||||||
|
|
||||||
# The font size ('10pt', '11pt' or '12pt').
|
|
||||||
# 'pointsize': '10pt',
|
|
||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
|
||||||
# 'preamble': '',
|
|
||||||
|
|
||||||
# Latex figure (float) alignment
|
|
||||||
# 'figure_align': 'htbp',
|
|
||||||
}
|
|
||||||
|
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
|
||||||
# (source start file, target name, title,
|
|
||||||
# author, documentclass [howto, manual, or own class]).
|
|
||||||
latex_documents = [
|
|
||||||
(master_doc, 'doc-' + target_name + '.tex',
|
|
||||||
title.replace("_", "\_"), author, 'manual'),
|
|
||||||
]
|
|
||||||
|
|
||||||
latex_use_xindy = False
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
|
||||||
# the title page.
|
|
||||||
# latex_logo = None
|
|
||||||
|
|
||||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
|
||||||
# not chapters.
|
|
||||||
# latex_use_parts = False
|
|
||||||
|
|
||||||
# If true, show page references after internal links.
|
|
||||||
# latex_show_pagerefs = False
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
# latex_show_urls = False
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
# latex_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# latex_domain_indices = True
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for manual page output ---------------------------------------
|
|
||||||
|
|
||||||
# One entry per manual page. List of tuples
|
|
||||||
# (source start file, name, description, authors, manual section).
|
|
||||||
man_pages = [
|
|
||||||
(master_doc, target_name,
|
|
||||||
title, [author], 1)
|
|
||||||
]
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
# man_show_urls = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for Texinfo output -------------------------------------------
|
|
||||||
|
|
||||||
# Grouping the document tree into Texinfo files. List of tuples
|
|
||||||
# (source start file, target name, title, author,
|
|
||||||
# dir menu entry, description, category)
|
|
||||||
texinfo_documents = [
|
|
||||||
(master_doc, target_name,
|
|
||||||
title, author, project,
|
|
||||||
description, category),
|
|
||||||
]
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
# texinfo_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# texinfo_domain_indices = True
|
|
||||||
|
|
||||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
|
||||||
# texinfo_show_urls = 'footnote'
|
|
||||||
|
|
||||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
|
||||||
# texinfo_no_detailmenu = False
|
|
||||||
# -- Options for PDF output --------------------------------------------------
|
|
||||||
|
|
||||||
pdf_documents = [
|
|
||||||
(master_doc, target_name,
|
|
||||||
title, author)
|
|
||||||
]
|
|
||||||
|
|
||||||
locale_dirs = ['locale/']
|
|
|
@ -1,42 +0,0 @@
|
||||||
===============================
|
|
||||||
OpenStack-Ansible Galera client
|
|
||||||
===============================
|
|
||||||
|
|
||||||
This Ansible role installs packages used to interact with and manage a Galera
|
|
||||||
cluster.
|
|
||||||
|
|
||||||
To clone or view the source code for this repository, visit the role repository
|
|
||||||
for `galera_client <https://opendev.org/openstack/openstack-ansible-galera_client>`_.
|
|
||||||
|
|
||||||
Default variables
|
|
||||||
~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. literalinclude:: ../../defaults/main.yml
|
|
||||||
:language: yaml
|
|
||||||
:start-after: under the License.
|
|
||||||
|
|
||||||
Required variables
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
To use this role, define the following variables:
|
|
||||||
|
|
||||||
.. code-block:: yaml
|
|
||||||
|
|
||||||
galera_root_password: secrete
|
|
||||||
|
|
||||||
Dependencies
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
|
|
||||||
This role needs pip >= 7.1 installed on the target host.
|
|
||||||
|
|
||||||
This role depends on the ``config_template`` Ansible module provided
|
|
||||||
by `OpenStack-Ansible Plugins`_.
|
|
||||||
|
|
||||||
.. _OpenStack-Ansible Plugins:
|
|
||||||
https://opendev.org/openstack/openstack-ansible-plugins
|
|
||||||
|
|
||||||
Example playbook
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. literalinclude:: ../../examples/playbook.yml
|
|
||||||
:language: yaml
|
|
|
@ -1,9 +0,0 @@
|
||||||
- name: Install Galera client
|
|
||||||
hosts: all
|
|
||||||
user: root
|
|
||||||
roles:
|
|
||||||
- role: "openstack-ansible-galera_client"
|
|
||||||
galera_address: "10.0.0.1"
|
|
||||||
galera_root_password: secrete
|
|
||||||
galera_root_user: root
|
|
||||||
galera_client_drop_config_file: true
|
|
|
@ -1,99 +0,0 @@
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
mQINBFb8EKsBEADwGmleOSVThrbCyCVUdCreMTKpmD5p5aPz/0jc66050MAb71Hv
|
|
||||||
TVcfuMqHYO8O66qXLpEdqZpuk4D+rw1oKyC+d8uPD2PSHRqBXnR0Qf+LVTZvtO92
|
|
||||||
3R7pYnC2x6V6iVGpKQYFP8cwh2B1qgIa+9y/N8cQIqfD+0ghyiUjjTYek3YFBnqa
|
|
||||||
L/2h2V0Mt0DkBrDK80LqEY10PAFDfJjINAW9XNHZzi2KqUx5w1z8rItokXV6fYE5
|
|
||||||
ItyGMR6WVajJg5D4VCiZd0ymuQP2bGkrRbl6FH5vofVSkahKMJeHs2lbvMvNyS3c
|
|
||||||
n8vxoBvbbcwSAV1gvB1uzXXxv0kdkFZjhU1Tss4+Dak8qeEmIrC5qYycLxIdVEhT
|
|
||||||
Z8N8+P7Dll+QGOZKu9+OzhQ+byzpLFhUHKys53e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mgFPXNoxyoNLo
|
|
||||||
5SUetZSLxoM23kQ9C4QZ0/b+JMN4Crivx4JisdELt6CV3JFmuZY19xk3r8b0r4lK
|
|
||||||
OFZ9JZZIFEipv5TFxA0KnqLq29VLEJ8srVHg/iQD9ngKja/LAh9V8+Ed3mchY2XX
|
|
||||||
KX07evTgYI1OPPCy/92FQYMUhWyCGB6Fm4vQFvuEO7K9nZKEAu6Znm3uZT9InaE6
|
|
||||||
TeSU77ZsgkHSCq5SRaf/iDWHZOn1dVasjXHoZQHFFiTALi1ZqPNZ5ULmFwNUB2pg
|
|
||||||
3QfQdWP8ISCsRaUJW/WEnQlgCyNfwKPVC5kHWLfh+MSSDJsyOjegJTkYJKI2a+1N
|
|
||||||
5Sl7HJj/uIcB3KhkcVP59BLzhUxgoVPi1Ngf7mNNrrbJ8+GfrdNg+iutHJOobxol
|
|
||||||
AudzObQ03lHmauJglCOvg+Pw9JLBZyT8a3xHm9v4Lr365cg0Ho4qqEbrFTRuqcIj
|
|
||||||
G3c6FVLu/RJ8eOfT6KX8k5z96/3CbobkXGYRY6hjCJuZoPMd9z03UcxHONMQ0jt/
|
|
||||||
Ik80WP0gOSnCTgTfKWuS5WXYoSZgMn1P2fLhQydDtJvrDn1SHEwgW1FM82lAlYJZ
|
|
||||||
d+FZQCjhZ8KISQQYEQIACQUCS2iEuAIbDAAKCRDLywgqG7lD29OGAJ4gfMkLP5Az
|
|
||||||
y7iIJOsZon3D/6PDPgCdGF1dwVW/uy+3ao53fvgS0JKO/bg=
|
|
||||||
=bSQ3
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
|
@ -1,33 +0,0 @@
|
||||||
export VIRTUAL_ENV=$(pwd)
|
|
||||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
|
||||||
export ANSIBLE_SSH_CONTROL_PATH=/tmp/%%h-%%r
|
|
||||||
|
|
||||||
# TODO (odyssey4me) These are only here as they are non-standard folder
|
|
||||||
# names for Ansible 1.9.x. We are using the standard folder names for
|
|
||||||
# Ansible v2.x. We can remove this when we move to Ansible 2.x.
|
|
||||||
export ANSIBLE_ACTION_PLUGINS=${HOME}/.ansible/plugins/action
|
|
||||||
export ANSIBLE_CALLBACK_PLUGINS=${HOME}/.ansible/plugins/callback
|
|
||||||
export ANSIBLE_FILTER_PLUGINS=${HOME}/.ansible/plugins/filter
|
|
||||||
export ANSIBLE_LOOKUP_PLUGINS=${HOME}/.ansible/plugins/lookup
|
|
||||||
|
|
||||||
# This is required as the default is the current path or a path specified
|
|
||||||
# in ansible.cfg
|
|
||||||
export ANSIBLE_LIBRARY=${HOME}/.ansible/plugins/library
|
|
||||||
|
|
||||||
# This is required as the default is '/etc/ansible/roles' or a path
|
|
||||||
# specified in ansible.cfg
|
|
||||||
export ANSIBLE_ROLES_PATH=${HOME}/.ansible/roles:$(pwd)/..
|
|
||||||
|
|
||||||
export ANSIBLE_SSH_ARGS="-o ControlMaster=no \
|
|
||||||
-o UserKnownHostsFile=/dev/null \
|
|
||||||
-o StrictHostKeyChecking=no \
|
|
||||||
-o ServerAliveInterval=64 \
|
|
||||||
-o ServerAliveCountMax=1024 \
|
|
||||||
-o Compression=no \
|
|
||||||
-o TCPKeepAlive=yes \
|
|
||||||
-o VerifyHostKeyDNS=no \
|
|
||||||
-o ForwardX11=no \
|
|
||||||
-o ForwardAgent=yes"
|
|
||||||
|
|
||||||
echo "Run manual functional tests by executing the following:"
|
|
||||||
echo "# ./.tox/functional/bin/ansible-playbook -i tests/inventory tests/test.yml"
|
|
|
@ -1,46 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2014, Rackspace US, 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.
|
|
||||||
|
|
||||||
galaxy_info:
|
|
||||||
author: rcbops
|
|
||||||
description: Installation galera client
|
|
||||||
company: Rackspace
|
|
||||||
license: Apache2
|
|
||||||
min_ansible_version: 2.4
|
|
||||||
platforms:
|
|
||||||
- name: Debian
|
|
||||||
versions:
|
|
||||||
- stretch
|
|
||||||
- name: Ubuntu
|
|
||||||
versions:
|
|
||||||
- bionic
|
|
||||||
- name: EL
|
|
||||||
versions:
|
|
||||||
- 7
|
|
||||||
- name: opensuse
|
|
||||||
versions:
|
|
||||||
- 15
|
|
||||||
categories:
|
|
||||||
- cloud
|
|
||||||
- galera
|
|
||||||
- mariadb
|
|
||||||
- development
|
|
||||||
- openstack
|
|
||||||
dependencies:
|
|
||||||
- role: apt_package_pinning
|
|
||||||
apt_pinned_packages: "{{ galera_client_distro_package_pins }}"
|
|
||||||
apt_package_pinning_file_name: "galera_client_pin.pref"
|
|
||||||
when:
|
|
||||||
- ansible_pkg_mgr == 'apt'
|
|
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, Rackspace US, 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.
|
|
||||||
#
|
|
||||||
# (c) 2017, Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
|
|
||||||
|
|
||||||
maturity_info:
|
|
||||||
status: complete
|
|
||||||
created_during: mitaka
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
upgrade:
|
|
||||||
- The Galera client role now has a dependency on the
|
|
||||||
apt package pinning role.
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- The filename of the apt/yum source can now be
|
|
||||||
defined with the variable ``mariadb_repo_filename``.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
deprecations:
|
|
||||||
- |
|
|
||||||
The ``galera_client_opensuse_mirror_obs_url`` variable has been removed
|
|
||||||
since the OBS repository is no longer used to install the MariaDB packages.
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
upgrade:
|
|
||||||
- |
|
|
||||||
The data structure for ``galera_client_gpg_keys`` has been changed to be
|
|
||||||
a dict passed directly to the applicable apt_key/rpm_key module. As such
|
|
||||||
any overrides would need to be reviewed to ensure that they do not pass
|
|
||||||
any key/value pairs which would cause the module to fail.
|
|
||||||
- |
|
|
||||||
The default values for ``galera_client_gpg_keys`` have been changed for
|
|
||||||
all supported platforms will use vendored keys. This means that the task
|
|
||||||
execution will no longer reach out to the internet to add the keys,
|
|
||||||
making offline or proxy-based installations easier and more reliable.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
upgrade:
|
|
||||||
- The galera_client role now installs MariaDB client version 10.1.
|
|
||||||
- For systems using the APT package manager, the sources file for
|
|
||||||
the MariaDB repo now has a consistent name, 'MariaDB.list'.
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- The ``galera_client_package_install`` option can now
|
|
||||||
be specified to handle whether packages are installed
|
|
||||||
as a result of the ``openstack-ansible-galera_client``
|
|
||||||
role running. This will default to ``true``, but can be
|
|
||||||
set to ``false`` to prevent package installs. This is
|
|
||||||
useful when deploying the ``my.cnf`` client configuration
|
|
||||||
file on hosts that already have Galera installed.
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- The ``galera_client`` role will default to using the ``galera_repo_url``
|
|
||||||
URL if the value for it is set. This simplifies using an alternative
|
|
||||||
mirror for the MariaDB server and client as only one variable needs to
|
|
||||||
be set to cover them both.
|
|
||||||
deprecations:
|
|
||||||
- The variables ``galera_client_apt_repo_url`` and ``galera_client_yum_repo_url``
|
|
||||||
are deprecated in favour of the common variable ``galera_client_repo_url``.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- Allows SSL connection to Galera with SSL support. ``galera_use_ssl`` option has to
|
|
||||||
be set to ``true``, in this case self-signed CA cert or user-provided CA cert will
|
|
||||||
be delivered to the container/host.
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- CentOS 7 support has been added to the ``galera_client`` role.
|
|
||||||
upgrade:
|
|
||||||
- The variable ``galera_client_apt_packages`` has been replaced
|
|
||||||
by ``galera_client_distro_packages``.
|
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- |
|
|
||||||
Deployers can set ``galera_client_opensuse_mirror_obs_url`` to use their
|
|
||||||
preferred mirror for the galera server OBS packages. The full list of
|
|
||||||
mirrors and their capabilities can be obtained at http://mirrors.opensuse.org/
|
|
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- The galera_client role now supports the ability to configure whether
|
|
||||||
apt/yum tasks install the latest available package, or just ensure
|
|
||||||
that the package is present. The default action is to ensure that
|
|
||||||
the latest package is present. The action taken may be changed to
|
|
||||||
only ensure that the package is present by setting
|
|
||||||
``galera_client_package_state`` to ``present``.
|
|
||||||
upgrade:
|
|
||||||
- The galera_client role always checks whether the latest package is
|
|
||||||
installed when executed. If a deployer wishes to change the check to
|
|
||||||
only validate the presence of the package, the option
|
|
||||||
``galera_client_package_state`` should be set to ``present``.
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
upgrade:
|
|
||||||
- Percona Xtrabackup has been removed from the Galera client
|
|
||||||
role.
|
|
||||||
deprecations:
|
|
||||||
- The variables ```galera_client_package_*``` and ```galera_client_apt_percona_xtrabackup_*```
|
|
||||||
have been removed from the role as Xtrabackup is no longer deployed.
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- The role now supports SUSE based distributions. Required packages
|
|
||||||
can now be installed using the `zypper` package manager.
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
features:
|
|
||||||
- |
|
|
||||||
The MariaDB version has been bumped to 10.2
|
|
|
@ -1,276 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# This file is execfile()d with the current directory set to its
|
|
||||||
# containing dir.
|
|
||||||
#
|
|
||||||
# Note that not all possible configuration values are present in this
|
|
||||||
# autogenerated file.
|
|
||||||
#
|
|
||||||
# All configuration values have a default; values that are commented out
|
|
||||||
# serve to show the default.
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
||||||
# sys.path.insert(0, os.path.abspath('.'))
|
|
||||||
|
|
||||||
# -- General configuration ------------------------------------------------
|
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
|
||||||
# needs_sphinx = '1.0'
|
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
||||||
# ones.
|
|
||||||
extensions = [
|
|
||||||
'openstackdocstheme',
|
|
||||||
'reno.sphinxext',
|
|
||||||
]
|
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
|
||||||
templates_path = ['_templates']
|
|
||||||
|
|
||||||
# The suffix of source filenames.
|
|
||||||
source_suffix = '.rst'
|
|
||||||
|
|
||||||
# The encoding of source files.
|
|
||||||
# source_encoding = 'utf-8-sig'
|
|
||||||
|
|
||||||
# The master toctree document.
|
|
||||||
master_doc = 'index'
|
|
||||||
|
|
||||||
# General information about the project.
|
|
||||||
author = 'OpenStack-Ansible Contributors'
|
|
||||||
category = 'Miscellaneous'
|
|
||||||
copyright = '2014-2016, OpenStack-Ansible Contributors'
|
|
||||||
description = 'OpenStack-Ansible deploys OpenStack environments using Ansible.'
|
|
||||||
project = 'OpenStack-Ansible'
|
|
||||||
role_name = 'galera_client'
|
|
||||||
target_name = 'openstack-ansible-' + role_name
|
|
||||||
title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role'
|
|
||||||
|
|
||||||
# Release notes do not need a version number in the title,
|
|
||||||
# they cover multiple versions.
|
|
||||||
# The full version, including alpha/beta/rc tags.
|
|
||||||
release = ''
|
|
||||||
# The short X.Y version.
|
|
||||||
version = ''
|
|
||||||
|
|
||||||
# openstackdocstheme options
|
|
||||||
openstackdocs_repo_name = 'openstack/' + target_name
|
|
||||||
openstackdocs_bug_project = project.lower()
|
|
||||||
openstackdocs_bug_tag = ''
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
||||||
# for a list of supported languages.
|
|
||||||
# language = None
|
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
|
||||||
# non-false value, then it is used:
|
|
||||||
# today = ''
|
|
||||||
# Else, today_fmt is used as the format for a strftime call.
|
|
||||||
# today_fmt = '%B %d, %Y'
|
|
||||||
|
|
||||||
# List of patterns, relative to source directory, that match files and
|
|
||||||
# directories to ignore when looking for source files.
|
|
||||||
exclude_patterns = []
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
|
||||||
# documents.
|
|
||||||
# default_role = None
|
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
|
||||||
# add_function_parentheses = True
|
|
||||||
|
|
||||||
# If true, the current module name will be prepended to all description
|
|
||||||
# unit titles (such as .. function::).
|
|
||||||
# add_module_names = True
|
|
||||||
|
|
||||||
# If true, sectionauthor and moduleauthor directives will be shown in the
|
|
||||||
# output. They are ignored by default.
|
|
||||||
# show_authors = False
|
|
||||||
|
|
||||||
# The name of the Pygments (syntax highlighting) style to use.
|
|
||||||
pygments_style = 'native'
|
|
||||||
|
|
||||||
# A list of ignored prefixes for module index sorting.
|
|
||||||
# modindex_common_prefix = []
|
|
||||||
|
|
||||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
|
||||||
# keep_warnings = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output ----------------------------------------------
|
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
||||||
# a list of builtin themes.
|
|
||||||
html_theme = 'openstackdocs'
|
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
|
||||||
# further. For a list of options available for each theme, see the
|
|
||||||
# documentation.
|
|
||||||
# html_theme_options = {}
|
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
|
||||||
# html_theme_path = []
|
|
||||||
|
|
||||||
# The name for this set of Sphinx documents. If None, it defaults to
|
|
||||||
# "<project> v<release> documentation".
|
|
||||||
# html_title = None
|
|
||||||
|
|
||||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
|
||||||
# html_short_title = None
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top
|
|
||||||
# of the sidebar.
|
|
||||||
# html_logo = None
|
|
||||||
|
|
||||||
# The name of an image file (within the static path) to use as favicon of the
|
|
||||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
||||||
# pixels large.
|
|
||||||
# html_favicon = None
|
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
||||||
html_static_path = ['_static']
|
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
|
||||||
# directly to the root of the documentation.
|
|
||||||
# html_extra_path = []
|
|
||||||
|
|
||||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
|
||||||
# typographically correct entities.
|
|
||||||
# html_use_smartypants = True
|
|
||||||
|
|
||||||
# Custom sidebar templates, maps document names to template names.
|
|
||||||
# html_sidebars = {}
|
|
||||||
|
|
||||||
# Additional templates that should be rendered to pages, maps page names to
|
|
||||||
# template names.
|
|
||||||
# html_additional_pages = {}
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# html_domain_indices = True
|
|
||||||
|
|
||||||
# If false, no index is generated.
|
|
||||||
# html_use_index = True
|
|
||||||
|
|
||||||
# If true, the index is split into individual pages for each letter.
|
|
||||||
# html_split_index = False
|
|
||||||
|
|
||||||
# If true, links to the reST sources are added to the pages.
|
|
||||||
# html_show_sourcelink = True
|
|
||||||
|
|
||||||
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
|
||||||
# html_show_sphinx = True
|
|
||||||
|
|
||||||
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
|
||||||
# html_show_copyright = True
|
|
||||||
|
|
||||||
# If true, an OpenSearch description file will be output, and all pages will
|
|
||||||
# contain a <link> tag referring to it. The value of this option must be the
|
|
||||||
# base URL from which the finished HTML is served.
|
|
||||||
# html_use_opensearch = ''
|
|
||||||
|
|
||||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
|
||||||
# html_file_suffix = None
|
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
|
||||||
htmlhelp_basename = target_name + '-docs'
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for LaTeX output ---------------------------------------------
|
|
||||||
|
|
||||||
latex_elements = {
|
|
||||||
# The paper size ('letterpaper' or 'a4paper').
|
|
||||||
# 'papersize': 'letterpaper',
|
|
||||||
|
|
||||||
# The font size ('10pt', '11pt' or '12pt').
|
|
||||||
# 'pointsize': '10pt',
|
|
||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
|
||||||
# 'preamble': '',
|
|
||||||
}
|
|
||||||
|
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
|
||||||
# (source start file, target name, title,
|
|
||||||
# author, documentclass [howto, manual, or own class]).
|
|
||||||
latex_documents = [
|
|
||||||
(master_doc, target_name + '.tex',
|
|
||||||
title, author, 'manual'),
|
|
||||||
]
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
|
||||||
# the title page.
|
|
||||||
# latex_logo = None
|
|
||||||
|
|
||||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
|
||||||
# not chapters.
|
|
||||||
# latex_use_parts = False
|
|
||||||
|
|
||||||
# If true, show page references after internal links.
|
|
||||||
# latex_show_pagerefs = False
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
# latex_show_urls = False
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
# latex_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# latex_domain_indices = True
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for manual page output ---------------------------------------
|
|
||||||
|
|
||||||
# One entry per manual page. List of tuples
|
|
||||||
# (source start file, name, description, authors, manual section).
|
|
||||||
man_pages = [
|
|
||||||
(master_doc, target_name,
|
|
||||||
title, [author], 1)
|
|
||||||
]
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
# man_show_urls = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for Texinfo output -------------------------------------------
|
|
||||||
|
|
||||||
# Grouping the document tree into Texinfo files. List of tuples
|
|
||||||
# (source start file, target name, title, author,
|
|
||||||
# dir menu entry, description, category)
|
|
||||||
texinfo_documents = [
|
|
||||||
(master_doc, target_name,
|
|
||||||
title, author, project,
|
|
||||||
description, category),
|
|
||||||
]
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
# texinfo_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
# texinfo_domain_indices = True
|
|
||||||
|
|
||||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
|
||||||
# texinfo_show_urls = 'footnote'
|
|
||||||
|
|
||||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
|
||||||
# texinfo_no_detailmenu = False
|
|
||||||
|
|
||||||
# -- Options for Internationalization output ------------------------------
|
|
||||||
locale_dirs = ['locale/']
|
|
|
@ -1,17 +0,0 @@
|
||||||
================================
|
|
||||||
OpenStack-Ansible Release Notes
|
|
||||||
================================
|
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
:maxdepth: 1
|
|
||||||
|
|
||||||
unreleased
|
|
||||||
ussuri
|
|
||||||
train
|
|
||||||
stein
|
|
||||||
rocky
|
|
||||||
queens
|
|
||||||
pike
|
|
||||||
ocata
|
|
||||||
newton
|
|
||||||
mitaka
|
|
|
@ -1,6 +0,0 @@
|
||||||
=============================
|
|
||||||
Mitaka Series Release Notes
|
|
||||||
=============================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: origin/stable/mitaka
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Newton Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: origin/stable/newton
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Ocata Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: origin/stable/ocata
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Pike Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/pike
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Queens Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/queens
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Rocky Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/rocky
|
|
|
@ -1,6 +0,0 @@
|
||||||
===================================
|
|
||||||
Stein Series Release Notes
|
|
||||||
===================================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/stein
|
|
|
@ -1,6 +0,0 @@
|
||||||
==========================
|
|
||||||
Train Series Release Notes
|
|
||||||
==========================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/train
|
|
|
@ -1,5 +0,0 @@
|
||||||
==============================
|
|
||||||
Current Series Release Notes
|
|
||||||
==============================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
|
@ -1,6 +0,0 @@
|
||||||
===========================
|
|
||||||
Ussuri Series Release Notes
|
|
||||||
===========================
|
|
||||||
|
|
||||||
.. release-notes::
|
|
||||||
:branch: stable/ussuri
|
|
94
run_tests.sh
94
run_tests.sh
|
@ -1,94 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright 2015, Rackspace US, 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.
|
|
||||||
|
|
||||||
# PURPOSE:
|
|
||||||
# This script clones the openstack-ansible-tests repository to the
|
|
||||||
# tests/common folder in order to be able to re-use test components
|
|
||||||
# for role testing. This is intended to be the thinnest possible
|
|
||||||
# shim for test execution outside of OpenStack CI.
|
|
||||||
|
|
||||||
# WARNING:
|
|
||||||
# This file is maintained in the openstack-ansible-tests repository.
|
|
||||||
# https://opendev.org/openstack/openstack-ansible-tests/src/run_tests.sh
|
|
||||||
# If you need to modify this file, update the one in the openstack-ansible-tests
|
|
||||||
# repository and then update this file as well. The purpose of this file is to
|
|
||||||
# prepare the host and then execute all the tox tests.
|
|
||||||
#
|
|
||||||
|
|
||||||
## Shell Opts ----------------------------------------------------------------
|
|
||||||
set -xeu
|
|
||||||
|
|
||||||
## Vars ----------------------------------------------------------------------
|
|
||||||
|
|
||||||
WORKING_DIR="$(readlink -f $(dirname $0))"
|
|
||||||
OSA_PROJECT_NAME="$(sed -n 's|^project=openstack/\(.*\).git$|\1|p' $(pwd)/.gitreview)"
|
|
||||||
|
|
||||||
COMMON_TESTS_PATH="${WORKING_DIR}/tests/common"
|
|
||||||
TESTING_HOME=${TESTING_HOME:-$HOME}
|
|
||||||
ZUUL_TESTS_CLONE_LOCATION="/home/zuul/src/opendev.org/openstack/openstack-ansible-tests"
|
|
||||||
|
|
||||||
# Use .gitreview as the key to determine the appropriate
|
|
||||||
# branch to clone for tests.
|
|
||||||
TESTING_BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' "${WORKING_DIR}/.gitreview")
|
|
||||||
if [[ "${TESTING_BRANCH}" == "" ]]; then
|
|
||||||
TESTING_BRANCH="master"
|
|
||||||
fi
|
|
||||||
|
|
||||||
## Main ----------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Source distribution information
|
|
||||||
source /etc/os-release || source /usr/lib/os-release
|
|
||||||
|
|
||||||
# Figure out the appropriate package install command
|
|
||||||
case ${ID,,} in
|
|
||||||
*suse*) pkg_mgr_cmd="zypper -n in" ;;
|
|
||||||
centos|rhel|fedora) pkg_mgr_cmd="dnf install -y" ;;
|
|
||||||
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
|
|
||||||
# Gentoo needs to have version set since it's rolling
|
|
||||||
gentoo) pkg_mgr_cmd="emerge --jobs=4"; VERSION="rolling" ;;
|
|
||||||
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Install git so that we can clone the tests repo if git is not available
|
|
||||||
case ${ID,,} in
|
|
||||||
gentoo) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" dev-vcs/git ;;
|
|
||||||
*) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Clone the tests repo for access to the common test script
|
|
||||||
if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then
|
|
||||||
# The tests repo doesn't need a clone, we can just
|
|
||||||
# symlink it.
|
|
||||||
if [[ "${OSA_PROJECT_NAME}" == "openstack-ansible-tests" ]]; then
|
|
||||||
ln -s "${WORKING_DIR}" "${COMMON_TESTS_PATH}"
|
|
||||||
|
|
||||||
# In zuul v3 any dependent repository is placed into
|
|
||||||
# /home/zuul/src/opendev.org, so we check to see
|
|
||||||
# if there is a tests checkout there already. If so, we
|
|
||||||
# symlink that and use it.
|
|
||||||
elif [[ -d "${ZUUL_TESTS_CLONE_LOCATION}" ]]; then
|
|
||||||
ln -s "${ZUUL_TESTS_CLONE_LOCATION}" "${COMMON_TESTS_PATH}"
|
|
||||||
|
|
||||||
# Otherwise we're clearly not in zuul or using a previously setup
|
|
||||||
# repo in some way, so just clone it from upstream.
|
|
||||||
else
|
|
||||||
git clone -b "${TESTING_BRANCH}" \
|
|
||||||
https://opendev.org/openstack/openstack-ansible-tests \
|
|
||||||
"${COMMON_TESTS_PATH}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Execute the common test script
|
|
||||||
source tests/common/run_tests_common.sh
|
|
13
setup.cfg
13
setup.cfg
|
@ -1,13 +0,0 @@
|
||||||
[metadata]
|
|
||||||
name = openstack-ansible-galera_client
|
|
||||||
summary = galera_client for OpenStack Ansible
|
|
||||||
description-file =
|
|
||||||
README.rst
|
|
||||||
author = OpenStack
|
|
||||||
author-email = openstack-discuss@lists.openstack.org
|
|
||||||
home-page = https://docs.openstack.org/openstack-ansible-galera_client/latest/
|
|
||||||
classifier =
|
|
||||||
Intended Audience :: Developers
|
|
||||||
Intended Audience :: System Administrators
|
|
||||||
License :: OSI Approved :: Apache Software License
|
|
||||||
Operating System :: POSIX :: Linux
|
|
20
setup.py
20
setup.py
|
@ -1,20 +0,0 @@
|
||||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
import setuptools
|
|
||||||
|
|
||||||
setuptools.setup(
|
|
||||||
setup_requires=['pbr>=2.0.0'],
|
|
||||||
pbr=True)
|
|
|
@ -1,44 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2014, Rackspace US, 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.
|
|
||||||
|
|
||||||
- include_tasks: "galera_client_install_{{ ansible_pkg_mgr }}.yml"
|
|
||||||
when:
|
|
||||||
- galera_client_package_install | bool
|
|
||||||
tags:
|
|
||||||
- install-apt
|
|
||||||
- install-yum
|
|
||||||
- install-zypper
|
|
||||||
|
|
||||||
- name: Install galera distro packages
|
|
||||||
package:
|
|
||||||
name: "{{ galera_client_distro_packages }}"
|
|
||||||
state: "{{ galera_client_package_state }}"
|
|
||||||
update_cache: "{{ (ansible_pkg_mgr in ['apt', 'zypper']) | ternary('yes', omit) }}"
|
|
||||||
cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}"
|
|
||||||
newuse: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
|
|
||||||
changed_use: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
|
|
||||||
noreplace: "{{ (ansible_pkg_mgr == 'portage') | ternary('yes', omit) }}"
|
|
||||||
jobs: "{{ (ansible_pkg_mgr == 'portage') | ternary('4', omit) }}"
|
|
||||||
register: install_packages
|
|
||||||
until: install_packages is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
when:
|
|
||||||
- galera_client_package_install | bool
|
|
||||||
tags:
|
|
||||||
- galera-client-apt-packages
|
|
||||||
- galera-client-portage-packages
|
|
||||||
- galera-client-yum-packages
|
|
||||||
- galera-client-zypper-packages
|
|
|
@ -1,76 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2016, Rackspace US, 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: Ensure host can talk to HTTPS apt repos
|
|
||||||
apt:
|
|
||||||
pkg: "apt-transport-https"
|
|
||||||
state: "{{ galera_client_package_state }}"
|
|
||||||
update_cache: yes
|
|
||||||
cache_valid_time: "{{ cache_timeout }}"
|
|
||||||
register: apt_transport_https_check
|
|
||||||
until: apt_transport_https_check is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
tags:
|
|
||||||
- galera-client-apt-packages
|
|
||||||
|
|
||||||
- name: If a keyfile is provided, copy the gpg keyfile to the key location
|
|
||||||
copy:
|
|
||||||
src: "gpg/{{ item.id }}"
|
|
||||||
dest: "{{ item.file }}"
|
|
||||||
mode: '0644'
|
|
||||||
with_items: "{{ galera_client_gpg_keys | selectattr('file','defined') | list }}"
|
|
||||||
tags:
|
|
||||||
- galera-client-apt-keys
|
|
||||||
|
|
||||||
- name: Install gpg keys
|
|
||||||
apt_key: "{{ key }}"
|
|
||||||
with_items: "{{ galera_client_gpg_keys }}"
|
|
||||||
loop_control:
|
|
||||||
loop_var: key
|
|
||||||
register: _add_apt_keys
|
|
||||||
until: _add_apt_keys is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
tags:
|
|
||||||
- galera-client-apt-keys
|
|
||||||
|
|
||||||
# When updating the cache in the apt_repository
|
|
||||||
# task, and the update fails, a retry does not
|
|
||||||
# detect a change the second attempt and therefore
|
|
||||||
# does not update the cache, resulting in a changed
|
|
||||||
# repo config, but no updated cache. To work around
|
|
||||||
# this bug we implement the change of repo config
|
|
||||||
# and the cache update as two separate tasks.
|
|
||||||
- name: Add galera repo
|
|
||||||
apt_repository:
|
|
||||||
repo: "{{ galera_client_repo }}"
|
|
||||||
filename: "{{ mariadb_repo_filename }}"
|
|
||||||
state: present
|
|
||||||
update_cache: no
|
|
||||||
register: add_repo
|
|
||||||
tags:
|
|
||||||
- galera-client-repos
|
|
||||||
|
|
||||||
- name: Update Apt cache
|
|
||||||
apt:
|
|
||||||
update_cache: yes
|
|
||||||
when: add_repo is changed
|
|
||||||
register: update_apt_cache
|
|
||||||
until: update_apt_cache is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
tags:
|
|
||||||
- galera-client-repos
|
|
|
@ -1 +0,0 @@
|
||||||
galera_client_install_yum.yml
|
|
|
@ -1 +0,0 @@
|
||||||
---
|
|
|
@ -1,76 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2016, Rackspace US, 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.
|
|
||||||
|
|
||||||
# Unfortunately yum is case-insensitive, and RDO has mariadb-* packages,
|
|
||||||
# while the MariaDB repo has MariaDB-* packages and they conflict.
|
|
||||||
# To work around this we have to query for any installed RDO/CentOS
|
|
||||||
# packages using rpm, then remove them. We have to remove them without
|
|
||||||
# dependencies, otherwise for distro package installation types on shared
|
|
||||||
# hosts it removes far too many packages.
|
|
||||||
- name: Remove conflicting packages
|
|
||||||
shell: |
|
|
||||||
exit_code=0
|
|
||||||
for pkg in {{ galera_client_distro_remove_packages | join(' ') }}; do
|
|
||||||
if rpm --query --quiet ${pkg}; then
|
|
||||||
rpm -ev --nodeps ${pkg}
|
|
||||||
exit_code=2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
exit ${exit_code}
|
|
||||||
register: _remove_existing_mariadb_packages
|
|
||||||
changed_when: _remove_existing_mariadb_packages.rc == 2
|
|
||||||
failed_when: _remove_existing_mariadb_packages.rc not in [0, 2]
|
|
||||||
args:
|
|
||||||
warn: no
|
|
||||||
executable: /bin/bash
|
|
||||||
|
|
||||||
- name: If a keyfile is provided, copy the gpg keyfile to the key location
|
|
||||||
copy:
|
|
||||||
src: "gpg/{{ item.key | basename }}"
|
|
||||||
dest: "{{ item.key }}"
|
|
||||||
mode: '0644'
|
|
||||||
with_items: "{{ galera_client_gpg_keys }}"
|
|
||||||
tags:
|
|
||||||
- galera-gpg-keys
|
|
||||||
|
|
||||||
- name: Install gpg keys
|
|
||||||
rpm_key: "{{ key }}"
|
|
||||||
with_items: "{{ galera_client_gpg_keys }}"
|
|
||||||
loop_control:
|
|
||||||
loop_var: key
|
|
||||||
register: _add_yum_keys
|
|
||||||
until: _add_yum_keys is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
tags:
|
|
||||||
- galera-gpg-keys
|
|
||||||
|
|
||||||
- name: Add galera repo
|
|
||||||
yum_repository:
|
|
||||||
name: "{{ item.name }}"
|
|
||||||
description: "{{ item.description }}"
|
|
||||||
baseurl: "{{ item.baseurl }}"
|
|
||||||
priority: 25
|
|
||||||
gpgkey: "{{ item.gpgkey | default(omit) }}"
|
|
||||||
gpgcheck: yes
|
|
||||||
enabled: yes
|
|
||||||
register: add_repos
|
|
||||||
until: add_repos is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
with_items:
|
|
||||||
- "{{ galera_client_repo }}"
|
|
||||||
tags:
|
|
||||||
- galera-repos
|
|
|
@ -1,52 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, SUSE LINUX GmbH.
|
|
||||||
#
|
|
||||||
# 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: If a keyfile is provided, copy the gpg keyfile to the key location
|
|
||||||
copy:
|
|
||||||
src: "gpg/{{ item.key | basename }}"
|
|
||||||
dest: "{{ item.key }}"
|
|
||||||
mode: '0644'
|
|
||||||
with_items: "{{ galera_client_gpg_keys }}"
|
|
||||||
tags:
|
|
||||||
- galera-gpg-keys
|
|
||||||
|
|
||||||
- name: Install gpg keys
|
|
||||||
rpm_key: "{{ key }}"
|
|
||||||
with_items: "{{ galera_client_gpg_keys }}"
|
|
||||||
loop_control:
|
|
||||||
loop_var: key
|
|
||||||
register: _add_zypper_keys
|
|
||||||
until: _add_zypper_keys is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
tags:
|
|
||||||
- galera-gpg-keys
|
|
||||||
|
|
||||||
- name: Add galera repo
|
|
||||||
zypper_repository:
|
|
||||||
name: "{{ item.name }}"
|
|
||||||
description: "{{ item.description }}"
|
|
||||||
repo: "{{ item.baseurl }}"
|
|
||||||
autorefresh: yes
|
|
||||||
auto_import_keys: no
|
|
||||||
enabled: yes
|
|
||||||
register: add_repos
|
|
||||||
until: add_repos is success
|
|
||||||
retries: 5
|
|
||||||
delay: 2
|
|
||||||
with_items:
|
|
||||||
- "{{ galera_client_repo }}"
|
|
||||||
tags:
|
|
||||||
- galera-repos
|
|
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2014, Rackspace US, 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: Drop local .my.cnf file
|
|
||||||
config_template:
|
|
||||||
src: "client.my.cnf.j2"
|
|
||||||
dest: "/root/.my.cnf"
|
|
||||||
owner: "root"
|
|
||||||
group: "root"
|
|
||||||
mode: "0600"
|
|
||||||
config_overrides: "{{ galera_client_my_cnf_overrides }}"
|
|
||||||
config_type: "ini"
|
|
||||||
when: galera_client_drop_config_file
|
|
||||||
tags:
|
|
||||||
- galera-client-user-config
|
|
|
@ -1,53 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, Rackspace US, 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: Get Galera ssl CA cert contents
|
|
||||||
slurp:
|
|
||||||
src: "{{ galera_ssl_ca_cert }}"
|
|
||||||
register: galera_ca
|
|
||||||
failed_when: false
|
|
||||||
delegate_to: "{{ galera_ssl_server }}"
|
|
||||||
when:
|
|
||||||
- galera_user_ssl_ca_cert is not defined
|
|
||||||
|
|
||||||
- name: Check for Galera ssl CA cert get failure
|
|
||||||
debug:
|
|
||||||
msg: >
|
|
||||||
The cert retrieval task failed or no CA cert was found. Check the file
|
|
||||||
"{{ galera_ssl_ca_cert }}" on server "{{ galera_ssl_server }}" before
|
|
||||||
trying again.
|
|
||||||
when:
|
|
||||||
- galera_ca.content is not defined
|
|
||||||
|
|
||||||
- name: Distribute Galera ssl CA cert (SERVER)
|
|
||||||
copy:
|
|
||||||
content: "{{ galera_ca.content | b64decode }}"
|
|
||||||
dest: "{{ galera_ssl_ca_cert }}"
|
|
||||||
owner: "root"
|
|
||||||
group: "root"
|
|
||||||
mode: "0644"
|
|
||||||
when:
|
|
||||||
- galera_user_ssl_ca_cert is not defined
|
|
||||||
- galera_ca.content is defined
|
|
||||||
|
|
||||||
- name: Distribute Galera ssl CA cert (USER)
|
|
||||||
copy:
|
|
||||||
src: "{{ galera_user_ssl_ca_cert }}"
|
|
||||||
dest: "{{ galera_ssl_ca_cert }}"
|
|
||||||
owner: "root"
|
|
||||||
group: "root"
|
|
||||||
mode: "0644"
|
|
||||||
when:
|
|
||||||
- galera_user_ssl_ca_cert is defined
|
|
|
@ -1,35 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2014, Rackspace US, 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: Gather variables for each operating system
|
|
||||||
include_vars: "{{ item }}"
|
|
||||||
with_first_found:
|
|
||||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
|
|
||||||
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
|
||||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
|
||||||
- "{{ ansible_distribution | lower }}.yml"
|
|
||||||
- "{{ ansible_os_family | lower }}.yml"
|
|
||||||
tags:
|
|
||||||
- always
|
|
||||||
|
|
||||||
- include_tasks: galera_client_install.yml
|
|
||||||
tags:
|
|
||||||
- galera-client-install
|
|
||||||
|
|
||||||
- include_tasks: galera_client_post_install.yml
|
|
||||||
|
|
||||||
- include_tasks: galera_client_ssl.yml
|
|
||||||
when:
|
|
||||||
- galera_use_ssl | bool
|
|
|
@ -1,10 +0,0 @@
|
||||||
# {{ ansible_managed }}
|
|
||||||
|
|
||||||
[client]
|
|
||||||
host={% if inventory_hostname in galera_cluster_members %}
|
|
||||||
localhost
|
|
||||||
{% else %}
|
|
||||||
{{ galera_address }}
|
|
||||||
{% endif %}
|
|
||||||
user={{ galera_root_user }}
|
|
||||||
password={{ galera_root_password }}
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
upgrade:
|
|
||||||
- The role now uses the UNIX sockets to communicate to the server instead
|
|
||||||
of TCP.
|
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
- name: apt_package_pinning
|
|
||||||
src: https://opendev.org/openstack/openstack-ansible-apt_package_pinning
|
|
||||||
scm: git
|
|
||||||
version: master
|
|
||||||
- name: pip_install
|
|
||||||
src: https://opendev.org/openstack/openstack-ansible-pip_install
|
|
||||||
scm: git
|
|
||||||
version: master
|
|
|
@ -1,4 +0,0 @@
|
||||||
[all]
|
|
||||||
localhost
|
|
||||||
|
|
||||||
[galera_all]
|
|
|
@ -1,70 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2015, Rackspace US, 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: Playbook for role testing
|
|
||||||
hosts: localhost
|
|
||||||
connection: local
|
|
||||||
user: root
|
|
||||||
become: true
|
|
||||||
pre_tasks:
|
|
||||||
- include_tasks: "common/common-tasks/test-set-nodepool-vars.yml"
|
|
||||||
roles:
|
|
||||||
- role: "galera_client"
|
|
||||||
galera_address: "10.0.0.1"
|
|
||||||
galera_root_password: secrete
|
|
||||||
galera_root_user: root
|
|
||||||
galera_client_drop_config_file: false
|
|
||||||
post_tasks:
|
|
||||||
- name: Check that the mysql command is present
|
|
||||||
find:
|
|
||||||
paths: "{{ ansible_env.PATH | regex_replace(':',',') }}"
|
|
||||||
patterns: "mysql"
|
|
||||||
register: mysql
|
|
||||||
- name: Check .my.cnf existence
|
|
||||||
stat:
|
|
||||||
path: /root/.my.cnf
|
|
||||||
register: mycnf
|
|
||||||
- name: mysql command should exist and client config file .my.cnf should not
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- "mysql.matched > 0"
|
|
||||||
- "not mycnf.stat.exists"
|
|
||||||
|
|
||||||
- name: Playbook for role testing
|
|
||||||
hosts: localhost
|
|
||||||
connection: local
|
|
||||||
user: root
|
|
||||||
become: true
|
|
||||||
roles:
|
|
||||||
- role: "galera_client"
|
|
||||||
galera_address: "10.0.0.1"
|
|
||||||
galera_root_password: secrete
|
|
||||||
galera_root_user: root
|
|
||||||
galera_client_drop_config_file: true
|
|
||||||
post_tasks:
|
|
||||||
- name: Check that the mysql command is present
|
|
||||||
find:
|
|
||||||
paths: "{{ ansible_env.PATH | regex_replace(':',',') }}"
|
|
||||||
patterns: "mysql"
|
|
||||||
register: mysql
|
|
||||||
- name: Check .my.cnf existence
|
|
||||||
stat:
|
|
||||||
path: /root/.my.cnf
|
|
||||||
register: mycnf
|
|
||||||
- name: mysql command and client config file .my.cnf should exist
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- "mysql.matched > 0"
|
|
||||||
- "mycnf.stat.exists"
|
|
96
tox.ini
96
tox.ini
|
@ -1,96 +0,0 @@
|
||||||
[tox]
|
|
||||||
minversion = 3.1
|
|
||||||
skipsdist = True
|
|
||||||
envlist = docs,linters,functional
|
|
||||||
ignore_basepython_conflict = True
|
|
||||||
|
|
||||||
[testenv]
|
|
||||||
basepython = python3
|
|
||||||
usedevelop = True
|
|
||||||
install_command =
|
|
||||||
pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
|
||||||
commands =
|
|
||||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
|
||||||
passenv =
|
|
||||||
COMMON_TESTS_PATH
|
|
||||||
HOME
|
|
||||||
http_proxy
|
|
||||||
HTTP_PROXY
|
|
||||||
https_proxy
|
|
||||||
HTTPS_PROXY
|
|
||||||
no_proxy
|
|
||||||
NO_PROXY
|
|
||||||
TESTING_BRANCH
|
|
||||||
TESTING_HOME
|
|
||||||
USER
|
|
||||||
whitelist_externals =
|
|
||||||
bash
|
|
||||||
setenv =
|
|
||||||
PYTHONUNBUFFERED=1
|
|
||||||
ROLE_NAME=galera_client
|
|
||||||
TEST_IDEMPOTENCE=false
|
|
||||||
VIRTUAL_ENV={envdir}
|
|
||||||
WORKING_DIR={toxinidir}
|
|
||||||
|
|
||||||
[testenv:docs]
|
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
|
||||||
commands =
|
|
||||||
bash -c "rm -rf doc/build"
|
|
||||||
doc8 doc
|
|
||||||
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
|
||||||
deps = {[testenv:docs]deps}
|
|
||||||
whitelist_externals =
|
|
||||||
make
|
|
||||||
commands =
|
|
||||||
sphinx-build -W --keep-going -b latex doc/source doc/build/pdf
|
|
||||||
make -C doc/build/pdf
|
|
||||||
|
|
||||||
[doc8]
|
|
||||||
# Settings for doc8:
|
|
||||||
extensions = .rst
|
|
||||||
|
|
||||||
[testenv:releasenotes]
|
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
|
||||||
commands =
|
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
|
||||||
|
|
||||||
# environment used by the -infra templated docs job
|
|
||||||
[testenv:venv]
|
|
||||||
commands =
|
|
||||||
{posargs}
|
|
||||||
|
|
||||||
[testenv:pep8]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-pep8.sh"
|
|
||||||
|
|
||||||
[flake8]
|
|
||||||
# Ignores the following rules due to how ansible modules work in general
|
|
||||||
# F403 'from ansible.module_utils.basic import *' used;
|
|
||||||
# unable to detect undefined names
|
|
||||||
ignore=F403
|
|
||||||
|
|
||||||
[testenv:bashate]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-bashate.sh"
|
|
||||||
|
|
||||||
[testenv:ansible-syntax]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-syntax.sh"
|
|
||||||
|
|
||||||
[testenv:ansible-lint]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-lint.sh"
|
|
||||||
|
|
||||||
[testenv:functional]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
|
|
||||||
|
|
||||||
[testenv:linters]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-env-prep.sh"
|
|
||||||
{[testenv:pep8]commands}
|
|
||||||
{[testenv:bashate]commands}
|
|
||||||
{[testenv:ansible-lint]commands}
|
|
||||||
{[testenv:ansible-syntax]commands}
|
|
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2016, Rackspace US, 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.
|
|
||||||
|
|
||||||
# Repositories
|
|
||||||
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/repo/{{ ansible_distribution | lower }}"
|
|
||||||
_galera_client_repo: "deb {{ galera_client_repo_url }} {{ ansible_distribution_release }} main"
|
|
||||||
|
|
||||||
galera_client_distro_packages:
|
|
||||||
- "mariadb-client-{{ galera_client_major_version }}"
|
|
||||||
|
|
||||||
# Galera GPG Keys
|
|
||||||
_galera_client_gpg_keys:
|
|
||||||
# MariaDB Signing Key <signing-key@mariadb.org>
|
|
||||||
- id: C74CD1D8
|
|
||||||
file: /etc/ssl/mariadb-key
|
|
|
@ -1,17 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2019, Matthew Thode
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
galera_client_distro_packages:
|
|
||||||
- dev-db/mariadb
|
|
|
@ -1,36 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2016, Rackspace US, 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.
|
|
||||||
|
|
||||||
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/{{ ansible_distribution | lower }}{{ ansible_distribution_major_version }}-amd64/"
|
|
||||||
_galera_client_repo:
|
|
||||||
state: "present"
|
|
||||||
name: MariaDB
|
|
||||||
description: "MariaDB Repo"
|
|
||||||
file: "{{ mariadb_repo_filename }}"
|
|
||||||
baseurl: "{{ galera_client_repo_url }}"
|
|
||||||
|
|
||||||
# Packages conflicting with MariaDB
|
|
||||||
# These are evaluated using case-sensitivity!
|
|
||||||
galera_client_distro_remove_packages:
|
|
||||||
- mariadb-common
|
|
||||||
- mariadb-config
|
|
||||||
|
|
||||||
galera_client_distro_packages:
|
|
||||||
- MariaDB-client
|
|
||||||
|
|
||||||
# Galera GPG Keys
|
|
||||||
_galera_client_gpg_keys:
|
|
||||||
# MariaDB Package Signing Key <package-signing-key@mariadb.org>
|
|
||||||
- key: /etc/pki/rpm-gpg/RPM-GPG-KEY-MariaDB
|
|
|
@ -1,28 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, SUSE LINUX GmbH.
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
_galera_opensuse_dir: "{{ ansible_distribution_major_version }}"
|
|
||||||
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/opensuse{{ _galera_opensuse_dir }}-amd64"
|
|
||||||
_galera_client_repo:
|
|
||||||
name: MariaDB
|
|
||||||
description: "MariaDB Repo"
|
|
||||||
baseurl: "{{ galera_client_repo_url }}"
|
|
||||||
|
|
||||||
galera_client_distro_packages:
|
|
||||||
- MariaDB-client
|
|
||||||
|
|
||||||
# Galera GPG Keys
|
|
||||||
_galera_client_gpg_keys:
|
|
||||||
- key: /etc/pki/RPM-GPG-KEY-MariaDB
|
|
|
@ -1,30 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, Rackspace US, 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.
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: openstack-ansible-galera_server
|
|
||||||
parent: openstack-ansible-cross-repo-functional
|
|
||||||
required-projects:
|
|
||||||
- name: openstack/openstack-ansible-galera_server
|
|
||||||
vars:
|
|
||||||
osa_test_repo: "openstack/openstack-ansible-galera_server"
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: openstack-ansible-ssl-galera_server-opensuse-15
|
|
||||||
parent: openstack-ansible-galera_server
|
|
||||||
nodeset: opensuse-15
|
|
||||||
voting: false
|
|
||||||
vars:
|
|
||||||
tox_env: ssl
|
|
|
@ -1,26 +0,0 @@
|
||||||
---
|
|
||||||
# Copyright 2017, Rackspace US, 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.
|
|
||||||
|
|
||||||
- project:
|
|
||||||
templates:
|
|
||||||
- check-requirements
|
|
||||||
- openstack-ansible-deploy-aio_metal-jobs
|
|
||||||
- openstack-ansible-deploy-aio_distro_metal-jobs
|
|
||||||
- openstack-ansible-linters
|
|
||||||
- publish-openstack-docs-pti
|
|
||||||
- release-notes-jobs-python3
|
|
||||||
check:
|
|
||||||
jobs:
|
|
||||||
- openstack-ansible-ssl-galera_server-opensuse-15
|
|
Loading…
Reference in New Issue