Commit Graph

88 Commits

Author SHA1 Message Date
OpenStack Release Bot a117515b7d Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 25fbe656a4e95ce9b3f7e3183cfd4486d853fe0d
  - 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-13 01:15:58 +00:00
Dmitriy Rabotyagov 61e4feeb61 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to a0fb5a6df2df91a969b7a6741e47a2df817935fe
  - Filter loop lists instead of conditionally run them
    
    Filtering loops should execute faster and do not iterate over elements
    that we don't need.
    
    Change-Id: Iee2e706c50b59679f48afbd6f067922887154e5c
2023-11-13 10:16:44 +00:00
Zuul f02e52147c Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 2ce606c40ac0c9375ba39616c71f27c626986380
  - Merge "Remove conditions on systemd version"
  - Remove conditions on systemd version
    
    All the supported platforms are now using more modern systemd versions
    than detected with the logic in this role, so remove
    the redundant tasks and conditions.
    
    Change-Id: I0ddaefc575f1b0cbf85696cde25aa69907fede9f
2023-10-17 17:41:14 +00:00
Zuul 6e982d34b3 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 381321d821527fac98333b609a39b985ee59bae2
  - Merge "Reduce output by leveraging loop labels"
  - Reduce output by leveraging loop labels
    
    Systemd service element does contain quite bug dictionary and
    output of it is not really useful for most tasks. To make output smaller
    and at the same time more informative we leverage loop labels.
    
    With that we convert all with_items to be proper loops.
    
    Change-Id: I90d2fb4110d2a47af184e90382538e015eb87b13
2023-10-17 17:41:13 +00:00
Zuul 7a9adc53fd Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 86e451b295b82883b03e25320db148b5b0aabfde
  - Merge "Use TOX_CONSTRAINTS_FILE"
  - Use TOX_CONSTRAINTS_FILE
    
    UPPER_CONSTRAINTS_FILE is old name and deprecated
    This allows to use upper-constraints file as more
    readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
    
    Change-Id: I841ad4ad1b35e97180914f3d5307910bef9f02dc
2023-10-17 13:28:03 +00:00
niuke c64733eb14 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 9e96739c854cd597cf2ed19efb29c31a5d30e240
  - Use TOX_CONSTRAINTS_FILE
    
    UPPER_CONSTRAINTS_FILE is old name and deprecated.
    This allows to use upper-constraints file as more
    readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
    
    Change-Id: I3793933504f301af105f8aa49a28f91f425d9219
2023-09-04 16:14:50 +00:00
Dmitriy Rabotyagov 79f770d300 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to b763b73ffc49204f88213366ca38e2bbd4be2d25
  - 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-19 08:59:06 +00:00
Dmitriy Rabotyagov e81de08f40 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to f3396119a44e63f3a95fbbcded85b5b7af4449ce
  - Fix tags usage for included tasks
    
    With usage of include_tasks tags must be applied accordingly,
    which was missing. That prevented running service load whenever
    systemd-service tag was used.
    
    Change-Id: Id48457c43e38e19f781bfe11d1fb6eaeb9fdde6f
2023-03-07 17:25:30 +00:00
Zuul de994721e8 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 59736cb4af5330260bb456e454e08e3d1c9da607
  - Merge "Ensure daemon is reloaded on socket change"
  - Ensure daemon is reloaded on socket change
    
    At the moment our verification if socket has been changed
    is not valid, since we're checking if string 'true' is presnet in the
    list, while list consist of only boolean variables. So we replace
    map filter with selectattr as it can apply truthy test to the elements
    while selecting them and checking list length.
    
    Change-Id: Ib456b4dc2d631bf81633035820444f13ec0f06cb
    Related-Bug: #2003631
2023-01-25 17:31:50 +00:00
Dmitriy Rabotyagov 3af3f57630 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 17f833f27a1f326b494471575f53bbc7438b05f4
  - Restart sockets when they are changed
    
    At the moment it's possible only to forcefully restart sockets under
    each run, which is not idempotent and may cause interruptions for
    service. To avoid that we add a way to restart socket just on config
    change with same logic applied as for service.
    
    Change-Id: Ifb6fd9461d7b6a65191b918c0863406cf4de6725
2023-01-25 17:26:07 +00:00
Dmitriy Rabotyagov 7a83d2c9ec Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to ed306794169a64ef3258aba652256c22543f8f3d
  - Update tox.ini to work with 4.0
    
    With tox release of 4.0, some parameters were deprecated and are ignored now
    which causes tox failures. One of the most spread issues we have is using
    `whitelist_externals` isntead of `allowlist_externals`
    
    
    Change-Id: Ib07b10672187610c046e84b7d8a884d4ddb58164
2022-12-28 09:41:24 +00:00
OpenStack Release Bot 940d0b6d5b Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 69f36cff8e74427802a512204cf7a5b2b684de42
  - 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:46:23 +00:00
Dmitriy Rabotyagov a1ed50a3ea Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 62bd24859e96ef28350911ede44480864ac6d161
  - 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-17 19:19:08 +00:00
Dmitriy Rabotyagov 3d7817f595 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 4bc059e9d93fc80f225564955db410de6463262e
  - Switch sphinx language to en
    
    With sphinx release of 5.0.0, they changed default for language variable
    to 'en' from None. With that current None valuable is not valid and should
    not be used.
    
    
    Change-Id: I55beac04ca11efef8a700d8f8544a853fd4af744
2022-05-30 14:55:58 +00:00
Zuul 1afca47f28 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 389dd8ae7227e7986325684711ba63b9639f8903
  - Merge "Reload systemd after installing a service unit override"
  - Reload systemd after installing a service unit override
    
    If systemd_service is used to install only an override for an existing
    unit it is necessary to reload the systemd daemon for the override
    to take effect.
    
    Change-Id: I64c0203ee13b3abbc441274c9304b7103a0bb23c
2022-04-25 19:42:25 +00:00
Dmitriy Rabotyagov 13f0973ca0 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to f441fc5be4ac181ec3b5668e252020c40af73b68
  - Pass systemd_service role in check mode
    
    In order to pass check mode we should get get_systemd_version
    regardles of mode with command. It is not a breaking change and safe to
    run anytime.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/837706
    Change-Id: I9ce85a091e3328d7215665ac308f2980537ce921
2022-04-14 19:58:09 +00:00
OpenStack Proposal Bot 727a4b1901 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to fcd5233302ad1fceff4842fb64f7d0d88ff4404f
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I7d07da1723570d38bdbcadfe1aa643539cd070f3
2022-04-01 16:09:24 +00:00
Marc Gariepy 441dad93b5 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 4ae5921212929be2b002acfa3ce0cb185fc19cc2
  - Cleanup setup.py config
    
    Change-Id: I788dd401f875953267783111efdc1ceaf1463f7f
2022-03-31 19:58:34 +00:00
Jonathan Rosser f9d91c5fa4 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 1013a1526ef7cd0a2d1b57e7120fe590c9b8597f
  - Allow StandardOutput to be set for a systemd service
    
    See https://www.freedesktop.org/software/systemd/man/systemd.exec.html
    
    Change-Id: I64470b53f5177e9a4e450beaa474036e44705349
2022-01-28 11:32:48 +00:00
Dmitriy Rabotyagov 00ee99928a Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 1f7091a11cfdcad885443c23e00d8ab85b0783a6
  - 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-17 10:12:28 +00:00
Zuul 2bff8687b9 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 17852bc111d5d4e617fa335aaa065acc89338468
  - Merge "Add 'load' boolean for services."
  - Add 'load' boolean for services.
    
    Some services, such as socket activated ones with '@' naming cannot be
    loaded.
    
    Change-Id: I7d95378f393c8b8cc729cc9b3a30dfe4208393b2
2022-01-13 15:25:46 +00:00
Zuul 9a9d5d4927 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to c0a5954685b77754e9df53c46f79076f308a2c9b
  - Merge "Suppress 'Service' directive if ListenStream is specified"
  - Suppress 'Service' directive if ListenStream is specified
    
    This is mutually exclusive configuration
    
    Change-Id: Icf43a8421f4d52570ea89f5db0722c0d99bafd85
2022-01-13 15:25:44 +00:00
Zuul 8f1a902369 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 26602576f630f624cad28ab1190cf7e10ecdbc02
  - Merge "Drop plugins from role requirements"
  - Drop plugins from role requirements
    
    Change-Id: I9bcdf00b88d5556670610a502a7522d308ce2da2
2022-01-12 13:45:11 +00:00
OpenStack Proposal Bot e1140f972a Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 9859d1645d590e0eabd3c7aba2a07a0c678b4b8e
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I3ea54451cc328fb64ab017f38c295436f0e92078
2021-12-17 18:27:00 +00:00
Zuul 0d174cda1b Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 1011acf6d255ec3cc3965a002f7df1ca631e667e
  - Merge "Add integrated linters test"
  - Add integrated linters test
    
    Change-Id: Id0de75860060474ce470bcf17b4204fa0604c29d
2021-12-06 19:14:01 +00:00
Zuul 3fb5d90663 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to a49b5544f11b1671683a19a1e621882b023c5e38
  - Merge "Use config_template as a collection"
  - Use config_template as a collection
    
    Since we still use ceph-ansible that has their own implementation of
    config_template module it's worth to use mentioned module as a collection
    explicitly.
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814
    
    
    
    Change-Id: I2e32017b48f9143ff0e42175cc10feebf342f2f3
2021-12-02 10:28:59 +00:00
Dmitriy Rabotyagov c6ae69eeee Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to fc698fb11ac1df1c913015223b28558b9927d0f5
  - Use slice name for lock/run by default
    
    Change-Id: I883d6520e7da4491929252677193f733808da6a3
2021-12-01 12:29:13 +00:00
Dmitriy Rabotyagov dab5dcb312 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to a3800b63684b6cf35aeed48adb04a0539f5bc078
  - 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-11 22:33:42 +00:00
Dmitriy Rabotyagov fcc021781f Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 46185f389eb8dc14c70b82b820cfe288df4a20e8
  - 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-11 22:30:30 +00:00
OpenStack Proposal Bot 205bd36d74 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 9d14e194caa46fb503d1be72c96916cd90b88997
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I0141c8b2e151636de5a25685de0a17940e24230c
2021-03-22 10:36:51 +00:00
Zuul 12f51a4a3a Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 2fd3f5e4f7ac9b906ce33945f2777081b38ac1fe
  - Merge "[reno] Stop publishing release notes"
  - [reno] Stop publishing release notes
    
    Since we copy all release notes to the integrated repo there is not need
    in publishing release notes for each repository. We should only verify their
    validity and linting.
    
    
    Change-Id: I172036c213917ca036e8f148bcce0816f9738bdb
2021-03-18 10:46:59 +00:00
Jonathan Rosser e164fd84c2 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 60b0cc5a620cdd00aedede83e42e0c4635eb3d37
  - Remove references to unsupported operating systems
    
    All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
    Conditional tasks, ternary operators and variables are simplified where possible
    OS specific variables files are generalised where possible
    
    Change-Id: Ia8feb40a3d350c8ff759111b828b633f1c8e8c7b
2021-03-16 16:43:55 +00:00
OpenStack Proposal Bot 544d8dd4f2 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to a0455830d4ad86356e43cc08f01cdf0ad321cd90
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I82a66e7591585531f72d0fc4b4334f7f40fb06a9
2021-03-13 10:42:36 +00:00
Erik Berg 9c97c21ecf Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 1cc15d7923d8936bc96b2f7e70c6b755df2f06da
  - Make systemd.service more consistent
    
    This file doesn't need to change based on the whims of which order
    the after_targets decide to jumble themselves into. By sorting the
    after_targets we get less changes.
    
    Change-Id: I7cba791c6d6d90390e5adaf63a4797cbc320cbc5
2021-03-01 10:08:32 +00:00
Andrew Bonney 6690f17223 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 3c924d2531e4714482835dcd72209556f3d1b539
  - templates: fix typo in string/mapping check
    
    A small typo that appears to have been missed during review,
    which can cause strings (for example) to be iterated over rather
    than included directly.
    
    Change-Id: Id1a9d7088f97b709c46d5f4563c0c498604f999e
2021-01-18 19:17:00 +00:00
Zuul aba17bdd36 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 6937a0a67a3a1dbc794f1b0db249caff11218800
  - Merge "Add option to create systemd native service overrides"
  - 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-14 10:29:02 +00:00
Zuul 6b3fb8ee2f Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 6ad5f1486db68f532809cc30391f045409c4bcaa
  - Merge "Add possibility to configure systemd sockets"
  - 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-14 10:21:16 +00:00
Jonathan Rosser c3b36887cd Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  to 2abd4c9be81709068770c3115a3db89a1cfad139
  - Use upper-constraints for all tox environments
    
    Change-Id: I3d24f37ae45a00361665ecd8326ce1b242411704
2020-12-14 15:55:17 +00:00
Zuul a2010e551f Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "Greater flexibility to timer templating"
  - Greater flexibility to timer templating
    
    Allows for the combining of multiple directives of the same type as
    the spec allows. An options value can now be specified as a list.
    Particularly useful for specifying multiple onCalendar directives.
    
    Change-Id: I2f0408a47861560b7813eeba7b3f2ce682823e1e
2020-10-21 13:04:16 +00:00
Jonathan Rosser c837e9182d Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Fix linter errors
    
    Change-Id: I681bf4ec20e3baef9d470bfec83f987fdbda81b9
2020-10-02 07:11:24 +00:00
OpenStack Proposal Bot 4fbd301799 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I26b3223b2c7d4d1cb4e362c1907bbe0a072a35eb
2020-09-25 20:01:02 +00:00
Zuul 8071387d3e Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "Revert "Build out the PrivateNetwork function for services""
  - Revert "Build out the PrivateNetwork function for services"
    
    This reverts commit 6285b6c6389134c53a5a98a0392b016a594bab16.
    
    There is no use made of this functionality anywhere outside the tests
    for this role, so revert the code. The intention is to reduce general
    overhead in systemd_service and reduce the number of skipped tasks
    in an OSA deployment.
    
    Conflicts: tests/test.yml
    Change-Id: I3d28967a64ea9d91219294bdc30d337c9c6d2e50
2020-07-06 17:49:24 +00:00
Zuul b116050367 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "Remove fail: tasks"
  - Remove fail: tasks
    
    Assume that the operator knows what they are doing. These tasks
    are skipped for every service which bumps up the number of tasks
    and runtime.
    
    Change-Id: I73f38d6b9cc897537053d810d5cdd61ed74671fb
2020-07-06 17:02:06 +00:00
Marc Gariepy 6524e6791f Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - remove ansible_python_interpreter
    
    ansible_python_interpreter is now set to auto in the tests repo.
    it doesn't need to be overwritten in the test anymore.
    
    Depends-On: https://review.opendev.org/734676/
    Change-Id: I08b449ebbb2658c02f9f2d69ff3d7c4372d24376
2020-06-16 14:09:25 +00:00
Zuul 696bdf6003 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "Use newer openstackdocstheme and reno versions"
  - 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-05 10:57:12 +00:00
OpenStack Proposal Bot 9e298ae237 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I286d8e0f00c6d85de095a9da3d2edd067fe4b059
2020-06-04 06:03:54 +00:00
OpenStack Release Bot c7031888e2 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - 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 14:20:51 +00:00
Zuul 29f76111e2 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "Updated from OpenStack Ansible Tests"
  - Updated from OpenStack Ansible Tests
    
    Change-Id: I73385caaa2185a9bb9df83269bf7257c2d2435df
2020-05-22 15:37:13 +00:00
Andreas Jaeger a89a17ea39 Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - 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-22 09:44:19 +00:00
Zuul 5b997de6fe Update git submodules
* Update ansible-role-systemd_service from branch 'master'
  - Merge "[ussuri][goal] Update contributor documentation"
  - [ussuri][goal] Update contributor documentation
    
    This patch updates/adds the contributor documentation to follow
    the guidelines of the Ussuri cycle community goal[1].
    
    [1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
    Story: #2007236
    Task: #38554
    
    Change-Id: I73293e01c9733ef6eb1c41b4b98ffc4ad628a4ab
2020-05-16 07:40:31 +00:00