Commit Graph

6 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 92b1d408b8 Set REQUESTS_CA_BUNDLE env var
In order to force requests module inside venvs to trust system-trusted
certificate authorities, we need to define environment variable
that will provide full path to CA file. Otherwise certifi provided file
will be used, that can't be updated with new CA once they're added
to system trust store.

Change-Id: I79446813602ae094bb788d3c29654fb814ec19a8
2021-06-25 13:26:46 +00:00
Jean-Philippe Evrard 133ca093f9 Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I3b8c727e503577fc911f4be4f9a296739d71806f
2018-07-12 17:03:43 +02:00
Mohammed Naser 66ed618bce Retry restarting systemd-journald
It is possible that systemd-journald fails to properly restart on
the first attempt due to assertion errors similar to the following:

  Assertion 'f' failed at src/journal/journal-file.c:132,
  function journal_file_close(). Aborting.

However, the service eventually starts with no problems, so we can
simply retry which will let it restart cleanly on the next attempt.

Change-Id: Ic65466b0d339c5a1b476e91483beca248ed0a02d
2018-05-08 12:26:58 +00:00
Major Hayden 181f6cea3a
Keep persistent systemd journals
This patch enables persistent systemd journals and allows a deployer
to disable the option if needed. The disk space requirements are
extremely low since the files are stored in binary format. It is
significantly less storage than rsyslog requires.

Closes-Bug: 1748195
Change-Id: I4de267f2839c5022e83a07fa7779f242808df5c0
2018-02-08 07:52:08 -06:00
Andy McCrae f031eec9d9 Remove Trusty support from openstack_hosts role
Change-Id: Ie5acd2c91fbac188dd942da7ac71321be63013a0
Implements: blueprint trusty-removal
2016-12-15 13:14:48 +00:00
Kevin Carter 335b5be62c
IRR for openstack_hosts
The change moves the role out from the main repo openstack-ansible
repository and into its own standalone repository.

Items within this change:
  * The role has been updated to ensure it runs standalone.
  * Tests added to the role within tox.
  * Functional tests added to the role that can either be run
    via the run_tests.sh script or using tox.
  * dev requirements have been updated for testing usecases.
  * Docs added to both the README.rst file as well as the docs
    folder.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-03 02:57:54 -06:00