Commit Graph

20 Commits

Author SHA1 Message Date
OpenStack Release Bot 25fbe656a4 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I44098fcfc74fdaba1bc2c82311d4fd49705fdc25
2023-12-07 11:05:27 +00:00
Dmitriy Rabotyagov b763b73ffc Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: I4aab8ba621228d3fbf79b1da8227be41f3258b5f
2023-07-12 11:58:33 +00:00
OpenStack Release Bot 69f36cff8e Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I05f796d3444ac44101e3190eb17e6f551c666408
2022-12-13 13:05:57 +00:00
Dmitriy Rabotyagov 62bd24859e Allow to define pre-start and post-stop tasks
WHile you can leverage config_overrides for that, it might become
tricky if you need to define more then 1 pre/post exec tasks.

Change-Id: I3d8b36f5e9f4be89eaff848d8ba88a38ce5285e4
2022-10-14 12:11:06 +02:00
Dmitriy Rabotyagov 1f7091a11c Add ability to create templated services
This functionality is pretty neat and used widely if you need to pass
specific argument to the unit service, but rest of the parameters can
be left intact.

Change-Id: I6eb80ac0f9f0257402697a255518bb2c66d0dfd5
2022-01-14 10:37:39 +00:00
Dmitriy Rabotyagov a3800b6368 Deprecate systemd_lock_path variable
To remove complexity from the code we remove variable systemd_lock_path
since variable systemd_lock_dir with common functionality has been
introduced.

Change-Id: I61bb44450a7fb1cface2b93302e02c8fd358a034
2021-11-04 20:41:24 +02:00
Dmitriy Rabotyagov 46185f389e Update run and lock path for systemd
Since /var/run is a symlink to /run and /var/lock is a symlink to
/run/lock for all modern operationg systems, it makes sense to
change default paths that are used.

To make such changes more flexible, ``systemd_run_dir`` and
``systemd_lock_dir`` are introduced.

Change-Id: I60d321fcdce3d3a94233cc25c92898d9e9f2a9b8
2021-11-04 20:30:47 +02:00
Dmitriy Rabotyagov 6bebc97d86 Add option to create systemd native service overrides
Since there might be a necessity to override already existing in the
system services, like provided ones by system packages, which we
just want to adjust, we need option to create service overrides in
systemd.servce.d directory.

Change-Id: Ic7488edbc0487fe932c706dc26f2f8adb36cb427
2021-01-06 10:53:22 +00:00
Dmitriy Rabotyagov 763eb7638f Add possibility to configure systemd sockets
We need to be able to configure systemd-sockets. Since they are attached
to the service it make sense to make it as an element to the service.

Change-Id: Ic481921151fc8d7af7f1ca9b003adb8e3c967e16
2021-01-06 10:53:07 +00:00
Andreas Jaeger 1e3374f92c Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I9f71b9b67c6a6006a53001fadcbb29e3503d2521
2020-06-03 18:58:13 +02:00
OpenStack Release Bot c86f1c8fb7 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ib2838ac0a804323fa2de8ceb0f18880663a46ee1
Sem-Ver: feature
2020-06-01 13:07:54 +00:00
Andreas Jaeger 8e3c152ed4 Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: Iae8ea69488d0acc2b28ba42fd6327f3c68f5b1ee
2020-05-20 17:24:25 +00:00
Andreas Jaeger bcead95895 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: Iaada1ab6f3c193e9e4018ba965eaa6b3ad0f9d3f
2020-04-25 16:04:09 +02:00
Dmitriy Rabotyagov d5f060e9df Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: I58262d50519e49687d4109075514f3d15142e432
2019-11-14 19:31:46 +02:00
OpenStack Release Bot 9cc6d0595a Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I07086a4f068177573b4fcde92e90fe2cb3b3f8a3
Sem-Ver: feature
2019-10-22 18:52:34 +00:00
OpenStack Release Bot 9fc3dbccb0 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I3735e9adba904a9a0d92d524745d5bc9eaf852e9
Sem-Ver: feature
2019-04-08 09:14:06 +00:00
OpenStack Release Bot 136c0b6abd Update reno for stable/rocky
Change-Id: I63a5654ca99846ef88d2e7f5f440488814efb0dd
2018-08-10 16:44:22 +00:00
Logan V d66dc97872 Add base role tests
Depends-On: https://review.openstack.org/#/c/554402/
Change-Id: I220eb6eac324cc085efa7f50f06a72d2e5f846ac
2018-03-19 23:01:15 -05:00
Kevin Carter 36e6e7e73b
renamed /systemd_init/systemd_service/g
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-12 16:45:53 -05:00
Kevin Carter 3287637b2d
Initial Commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-05-19 10:24:55 -05:00