ansible/roles/haveged-install.git
4 years agoSupport Ubuntu 18.04 and 20.04 97/65097/1
Thanh Ha [Fri, 14 Aug 2020 15:29:23 +0000 (11:29 -0400)]
Support Ubuntu 18.04 and 20.04

Adds tests to validate this role against Ubuntu 18.04 and 20.04.
We also need to split off the systemd task to a separate service
role for Ubuntu as 18.04 and newer Docker images are missing systemd
in their base images. The service role works on 16.04 systems so we
can apply this one task to all Ubuntu systems.

Change-Id: I86f0ba719cb482cb3f00697be60dfe9e48749e1c
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoRemove haveged_service_enable variable 96/65096/1
Thanh Ha [Fri, 14 Aug 2020 15:30:43 +0000 (11:30 -0400)]
Remove haveged_service_enable variable

This was added as a workaround because systemd didn't work correctly
on CentOS 7 systems when we originally added this test. This is no
longer the case so remove this workaround and apply systemd ansible
task for CentOS systems as for some reason the "service" task fails
on CentOS systems.

Change-Id: I6deeaec74d78cf1afdd4dbea42a1ff48875f2669
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
5 years agoUpdate role to support CentOS 8 80/63580/2
Andrew Grimberg [Thu, 2 Apr 2020 13:10:47 +0000 (06:10 -0700)]
Update role to support CentOS 8

Issue: RELENG-2823
Change-Id: I4163fe50b74b558a6fb76f944bc635c0067dd17b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoUpdate molecule tests for v3 87/63587/1
Andrew Grimberg [Thu, 2 Apr 2020 19:50:32 +0000 (12:50 -0700)]
Update molecule tests for v3

Issue: RELENG-2823
Change-Id: If1a5400e36a69c08e4096aa8c54671d5cfac9f00
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoConfigure basepython to python3 94/16694/1
Thanh Ha [Tue, 27 Aug 2019 18:54:53 +0000 (14:54 -0400)]
Configure basepython to python3

More and more libraries that we are pulling in require Python 3 so
to avoid having to play the pin dependencies whack-a-mole game let's
bump or base python where possible to python3.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I2adfd5d40963da8b8c720768398ef73cc84cfdbb

5 years agoUse Python 3 for molecule tests 09/16609/1
Thanh Ha [Tue, 20 Aug 2019 02:35:08 +0000 (22:35 -0400)]
Use Python 3 for molecule tests

PyTest 5.0 requires Python 3.5+ so let's update.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I43b8b89a412509b6a287baba48e86976239efb52

5 years agoFix bare variable deprecation warning 47/16047/2
Anil Belur [Mon, 1 Jul 2019 12:01:06 +0000 (22:01 +1000)]
Fix bare variable deprecation warning

Issue: RELENG-2179
Change-Id: I4debe9bf79ad8d0e98ae289e517335c18c18ab4a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoPin ansible, ansible-lint, detox and pytest 47/16347/1
Anil Belur [Sat, 27 Jul 2019 23:05:09 +0000 (09:05 +1000)]
Pin ansible, ansible-lint, detox and pytest

PyTest 5 was released on June 28th that now requires Python >= 3.5
so pin to the 4.6.x stream until we are ready to drop 2.7 support.

Pin ansible and ansible-lint to get the molecule tests to work.

detox 0.19 is not compatible with the version of tox we are getting from
upstream.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I1256a40c294686332b9d4cc614785d89af531f4a

5 years agoUse pre-commit instead of Coala 04/15604/2
Thanh Ha [Sat, 11 May 2019 01:24:47 +0000 (21:24 -0400)]
Use pre-commit instead of Coala

Considering that all we're using Coala for is for the GitCommitBear
let's drop Coala in favor of pre-commit as it's faster and more
convenient.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I852ced87ea859a4424e41d461e9adce01732b8ba

6 years agoFix docs indent 96/13696/1
Anil Belur [Wed, 28 Nov 2018 09:09:16 +0000 (19:09 +1000)]
Fix docs indent

Change-Id: Id33ccfe9ebf7b6c34d5e09d4599957837d6e2925
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoAllow skipping enabling of the haveged service 07/11707/3
Trevor Bramwell [Tue, 10 Jul 2018 01:09:30 +0000 (18:09 -0700)]
Allow skipping enabling of the haveged service

Docker containers which don't contain a services manager (ala
systemd) will fail on  service tasks. Adding a variable to skip the
service tasks allows the role to be ran and tested in containers.

Change-Id: I19945ad5344979feee21b76579beb5b7d02e2f4f
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoMigrate lf-ansible haveged-install role 74/8974/1
Thanh Ha [Wed, 21 Feb 2018 21:39:02 +0000 (16:39 -0500)]
Migrate lf-ansible haveged-install role

Change-Id: I757e6b40103afe346517ab05023b1aa689175631
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBootstrap haveged-install role 73/8973/1
Thanh Ha [Wed, 21 Feb 2018 21:36:05 +0000 (16:36 -0500)]
Bootstrap haveged-install role

Change-Id: I019072018b9cedce593bf058aca49c9e2c343665
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoInitial empty repository
Andrew Grimberg [Tue, 20 Feb 2018 22:00:15 +0000 (22:00 +0000)]
Initial empty repository