ansible/roles/lf-recommended-tools.git
6 months agoFeat: Enable Github2gerrit worflow 70/73270/1 master
Anil Belur [Thu, 24 Oct 2024 03:06:53 +0000 (13:06 +1000)]
Feat: Enable Github2gerrit worflow

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

6 months agoCI: Update gerrit-verify workflow 55/73255/1
Anil Belur [Sun, 25 Aug 2024 01:53:53 +0000 (11:53 +1000)]
CI: Update gerrit-verify workflow

Centos7, Centos8, and Ubuntu1804 are all EOL and should be removed
from the testing matrix. This will allow us to focus on the supported
distros.

Pull in the latest updates.

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

8 months agoChore: Update workflow to pull in latest version 46/73146/1
Anil Belur [Wed, 21 Aug 2024 22:25:10 +0000 (08:25 +1000)]
Chore: Update workflow to pull in latest version

Use the latest version of lfit/checkout-gerrit-change-action@v0.9
and lfit/gerrit-review-action@v0.8

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

15 months agoFix: Update lf-recommended-tools ansible role 36/72636/4
Anil Belur [Sun, 11 Feb 2024 02:18:40 +0000 (12:18 +1000)]
Fix: Update lf-recommended-tools ansible role

Update molecule test formats and update the role to build with
latest version of ansible. Fix ansible lint errors and warnings.

Update tox and pre-commit dependencies to build with latest versions
of ansible and molecule.

Fix up the ansible lint errors and warnings.

Rule Violation Summary:
count tag                   profile rule associated tags
1 command-instead-of-module basic   command-shell, idiom
1 no-free-form              basic   syntax, risk
1 name[missing]             basic   idiom
1 yaml[truthy]              basic   formatting, yaml

Change-Id: I35b22a5911cee7070571e7e3650ababd8de22738
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
15 months agoChore: Add Ubuntu 22.04 to supported versions 12/72612/3
Eric Ball [Mon, 5 Feb 2024 22:10:20 +0000 (14:10 -0800)]
Chore: Add Ubuntu 22.04 to supported versions

Change-Id: Ieb2eb6b073683be2ffb84abc164823d13bc84c30
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
15 months agoFix: Fix molecule test errors for latest ansible 23/72623/1
Eric Ball [Wed, 7 Feb 2024 00:13:47 +0000 (16:13 -0800)]
Fix: Fix molecule test errors for latest ansible

This include:
* Use MOLECULE_PLATFORM_NAME rather than MOLECULE_DISTRO to run tests
  per distro.
* Remove "warn" arg from command actions, as it is no longer
  supported.
* Replace generic "package" with "yum" and "apt".
* Specify ansible.builtin.command for action using a register. There
  was an error caused by a missing field from the registered output
  otherwise.
* Fix list concat formatting for package list in vars/.
* Add gpg to package list. Some docker images do not come with it
  included, which was causing failures.

Issue: RELENG-5129
Change-Id: I0a665f11f6f592ed2fe1ec2875a6db9e758e91cf
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
15 months agoFix: Rename .github/workflow to workflows 13/72613/1
Eric Ball [Tue, 6 Feb 2024 00:45:56 +0000 (16:45 -0800)]
Fix: Rename .github/workflow to workflows

Change-Id: I11f3ba35cb0c8318953cc968dadaf58929dd6b13
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
15 months agoCI: Update checkout gerrit change action to v0.6 10/72610/1
Anil Belur [Sun, 4 Feb 2024 07:25:48 +0000 (17:25 +1000)]
CI: Update checkout gerrit change action to v0.6

Add update python version 3.10, v3.8 is close to EOL
by Oct 2024.

Change-Id: I2086e198fa6167af5bffaee894e45d70a39df9c2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
15 months agoChore: Update LF tools role 26/70526/4
Anil Belur [Tue, 23 Aug 2022 01:07:46 +0000 (11:07 +1000)]
Chore: Update LF tools role

- Add GHA workflow to test ansible role
- Update tox and pre-commit dependencies

ERROR! the role 'java-install' was not found in <>
The error appears to be in '': line 5, column 7, but may
be elsewhere in the file depending on the exact syntax
problem.

Update role name to match the role path on GHA and
Jenkins jobs.

Ref: https://github.com/ansible/molecule/issues/1042
Change-Id: I7c8f248db7c2d07192aa2f8f3a3c4506a7a3d749
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2 years agoFix: Add missing header file for Sonarqube builds 28/71128/1
Matthew Watkins [Mon, 9 Jan 2023 11:42:10 +0000 (11:42 +0000)]
Fix: Add missing header file for Sonarqube builds

Issue-ID: RELENG-4551
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Ib7d338651d0bf26a302cfb007ee33dfd52b15409

2 years agoFeat: Add NodeSource NodeJS repository/package 69/70969/10
Matthew Watkins [Mon, 7 Nov 2022 10:41:21 +0000 (10:41 +0000)]
Feat: Add NodeSource NodeJS repository/package

Issue-ID: RELENG-4482
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I0187f5a57b63972452a715634ddfa6617615b2b7

2 years agoFix: Remove unused Handler 84/70884/15
Vanessa Valderrama [Tue, 18 Oct 2022 18:05:38 +0000 (13:05 -0500)]
Fix: Remove unused Handler

This handler is not required. Ansible has a built in service
module that controls services on remote hosts

Also installing a previous version of mock-core-configs to
resolve a dependency issue with the latest version

distribution-gpg-keys 1.77 is not available for CentOS 7

Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Ia93fd83f8ec06d4ec84d12ba638fbe92f363181b

2 years agoChore: Add SSHD handler 61/70861/2
Vanessa Valderrama [Thu, 13 Oct 2022 21:21:52 +0000 (16:21 -0500)]
Chore: Add SSHD handler

Adding a handler to restart SSHD

Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: I273f9f104196126c3ffa76c58ab72176d69e0fac

2 years agoFix: Remove ansible package/repo install 26/70826/3
Anil Belur [Thu, 6 Oct 2022 12:46:36 +0000 (22:46 +1000)]
Fix: Remove ansible package/repo install

Ansible is mostly used with the packer builds it's better
to install ansible from PyPI, since this gives better control
over the upstream version and managing dependencies.

Update the pre-commit dependencies and molecule default
platform config.

Issue-ID: RELENG-4473
Change-Id: I5635d1633ad02e169957361ea354b092ade29c18
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
4 years agoChange install state to handle sys deps 60/67260/7
Anil Belur [Mon, 29 Mar 2021 14:52:27 +0000 (00:52 +1000)]
Change install state to handle sys deps

Using 'fixed' allows to correct a system with
broken dependencies for Ubuntu 18.04.

Error:
E: Failed to fetch http://ubuntu.mirror.globo.tech/pool/main/m
   /mesa/libgl1-mesa-glx_20.0.8-0ubuntu1~18.04.1_amd64.deb
   Undetermined Error [IP: 68.168.114.246 80]
E: Unable to fetch some archives, maybe run apt-get
   update or try with --fix-missing?

Change-Id: I3f490fa1f6c5d36fd79345ae78227bebe8638d56
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoFix yamllint tox errors 62/67262/5
Anil Belur [Tue, 30 Mar 2021 00:18:52 +0000 (10:18 +1000)]
Fix yamllint tox errors

yamllint missing in $PATH causes molecule tests
to fail.

Ref: https://github.com/ansible-community/molecule/issues/2781
Change-Id: I56239b893cac2aeeb364ab41b70d98126a057637
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
4 years agoUpdate path for "parallel" package 04/66104/3
Eric Ball [Thu, 19 Nov 2020 00:53:23 +0000 (16:53 -0800)]
Update path for "parallel" package

The old URL is no longer reachable, causing build failures for packer
builds.

Molecule requirement has been changed to "molecule[docker]", due
to a breaking change introduced in molecule 3.1.1, where docker was
moved out of the default module.

rpm_key blocks added for direct installs of packages in CentOS 8, as
not having these GPG keys in place is now an error condition.

Issue: IT-20979
Change-Id: I837419c2cd92f0ec19849f0a4da3ec5c36b2cb5e
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
4 years agoMerge "Disable MOLECULE_DEBUG=true"
Anil Belur [Mon, 17 Aug 2020 03:23:09 +0000 (03:23 +0000)]
Merge "Disable MOLECULE_DEBUG=true"

4 years agoTest role with CentOS 8 03/65103/2
Thanh Ha [Fri, 14 Aug 2020 18:31:30 +0000 (14:31 -0400)]
Test role with CentOS 8

Adds a test environment for CentOS 8.

Change-Id: I0aee89c84a443055bb052164469cc2a5f841aa72
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoDisable MOLECULE_DEBUG=true 01/65101/2
Thanh Ha [Fri, 14 Aug 2020 18:07:17 +0000 (14:07 -0400)]
Disable MOLECULE_DEBUG=true

MOLECULE_DEBUG mode prints out too much information making it difficult
to troubleshoot. Most of the time this isn't necessary because molecule
does print out useful info on failure so let's comment this out and use
it sparingly when we need it.

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

4 years agoDo not install Ansible PPA on Ubuntu 20.04 00/65100/3
Thanh Ha [Fri, 14 Aug 2020 17:29:30 +0000 (13:29 -0400)]
Do not install Ansible PPA on Ubuntu 20.04

Unfortunately the Ansible PPA is not yet available on Ubuntu 20.04 so
do not install it. Also add a TODO note to go back and figure out if
we really still need the PPA. This was added because we wanted to get
a more recent version of Ansible on Ubuntu 16.04 but perhaps the distro
packaged version is sufficient with newer Ubuntu versions.

Ref: https://github.com/ansible/ansible/pull/69161
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I7a02a6e0e95b148c640dfd41f3ea3d50dfff17d9

4 years agoMerge C8 with RedHat 72/64172/1
Andrew Grimberg [Tue, 2 Jun 2020 20:00:48 +0000 (13:00 -0700)]
Merge C8 with RedHat

sshuttle finally released into EPEL so the different C8 and RedHat
configs are no longer needed and sshuttle can be brought back to the
main configuration.

Change-Id: I3d6c7bd61765cd25e5be7aa722cbf120c98630ab
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoWait 30 seconds and retry download 87/63787/2
Thanh Ha [Fri, 24 Apr 2020 17:38:58 +0000 (13:38 -0400)]
Wait 30 seconds and retry download

Occassionally fetching PlantUML fails with read timeout or other
intermittent issues. Add configuration to retry a few times before
giving up.

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

5 years agoUpdate role to support CentOS 8 73/63573/2
Andrew Grimberg [Wed, 1 Apr 2020 21:31:47 +0000 (14:31 -0700)]
Update role to support CentOS 8

* Drops installation of sshuttle as that is not presently available for
  CentOS 8

Issue: RELENG-2823
Change-Id: I426112d92cd6886c629744fa1f0cf39e800ad44f
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoUpdate molecule tests for v3 03/63403/5
Eric Ball [Thu, 12 Mar 2020 22:18:50 +0000 (15:18 -0700)]
Update molecule tests for v3

The lint section is now a single shell script.
playbook.yml is now named converge.yml.
docker_image_facts renamed to docker_image_info.
path, dockerfile, and force params for docker_image have changed
name/section, and source is now required.
Updated tox requirements.

Issue: RELENG-2721
Change-Id: I5b35afe7a6d75734b14ab895ceb9f0b7c4135a0d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
5 years agoUpdate sourceforge link to https 85/62085/1
Thanh Ha [Sat, 26 Oct 2019 17:51:45 +0000 (13:51 -0400)]
Update sourceforge link to https

It appears the http link just redirects to https now so let's
point directly to the SSL port and skip the redirect.

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

5 years agoInstall tree command 61/62061/6
Aric Gardner [Mon, 21 Oct 2019 20:47:16 +0000 (16:47 -0400)]
Install tree command

The tree command is required to create index files
which is required for bucket level file listing on
AWS S3.

molecule tests fail on python3!

TASK [Create Dockerfiles from image names]
*************************************
13:55:49     failed: [localhost] (item=None) => {"censored": "the output
has been hidden due to the fact that 'no_log: true' was specified for
this result", "changed": false}
    fixed with:
+export MOLECULE_DEBUG=True

"msg": "Aborting, target uses selinux but python bindings
(libselinux-python) aren't installed!"
    fixed with:
deps = selinux

libselinux python3 bindins are missing from centos7.7
https://bugs.centos.org/view.php?id=16389
    fixed with:
-basepython = python3

WARNING: test command found but not installed in testenv
    fixed with:
whitelist_externals = which

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I66025284e0251b248cb035207d17034531709616

5 years agoUbuntu: Install all required libraries for Pyenv 85/61785/2
Aric Gardner [Thu, 19 Sep 2019 19:16:23 +0000 (15:16 -0400)]
Ubuntu: Install all required libraries for Pyenv

https://github.com/pyenv/pyenv/wiki/Common-build-problems

ISSUE: IT-17316
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Id9945a8a206dffb1816f7e7a8d4d79e807988736

5 years agoMerge "Install all required libraries for Pyenv"
Aric Gardner [Fri, 6 Sep 2019 18:01:23 +0000 (18:01 +0000)]
Merge "Install all required libraries for Pyenv"

5 years agoMerge "Configure basepython to python3"
Aric Gardner [Tue, 27 Aug 2019 20:16:53 +0000 (20:16 +0000)]
Merge "Configure basepython to python3"

5 years agoRemove git-review package 11/16711/1
Suresh Channamallu [Tue, 27 Aug 2019 19:31:37 +0000 (15:31 -0400)]
Remove git-review package

Git-review is not used anymore

Issue: RELENG-2074
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
Change-Id: Iced7a4f5adc0cea5ac4b1de1b615b617c7d3ff18

5 years agoConfigure basepython to python3 97/16697/1
Thanh Ha [Tue, 27 Aug 2019 18:59:50 +0000 (14:59 -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: I507f1fa6c55356abb5bc780f4fb672d03d9edffb

5 years agoInstall all required libraries for Pyenv 71/16671/3
Aric Gardner [Mon, 26 Aug 2019 18:24:05 +0000 (14:24 -0400)]
Install all required libraries for Pyenv

https://github.com/pyenv/pyenv/wiki/Common-build-problems

ISSUE: IT-17316
Change-Id: Ic22d4ed31a01d3d2f4fef391415347cfd1aa5647
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoPin more-itertools~=5.0.0 75/16675/1
Anil Belur [Tue, 27 Aug 2019 03:13:50 +0000 (08:43 +0530)]
Pin more-itertools~=5.0.0

Pin more-itertools ~= 5.0.0, since version 6.0.0 requires Python 3.4
https://github.com/erikrose/more-itertools/releases

Error:
more-itertools requires Python '>=3.4' but the running Python is 2.7.5

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

5 years agoUse Python 3 for molecule tests
Thanh Ha [Tue, 20 Aug 2019 02:36:38 +0000 (22:36 -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: I79104c8633ac490510d9391a24beb424c9324b7f

5 years agoRevert "Add packagecloud deps to ansible role" 22/16622/1
Andrew Grimberg [Tue, 20 Aug 2019 18:33:06 +0000 (11:33 -0700)]
Revert "Add packagecloud deps to ansible role"

This reverts commit 07b3e6afe811bf7d0ca7d50946a05c8b45906371.

Installation of package_cloud is not working as expected

Issue: RELENG-2240
Change-Id: I94b7cabdae6e63995fadaa65bac4446425c90c7d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoAdd packagecloud deps to ansible role 59/16359/16
Suresh Channamallu [Mon, 29 Jul 2019 19:35:00 +0000 (15:35 -0400)]
Add packagecloud deps to ansible role

Add ruby_dev, rake, package_cloud gem installation
steps

Issue: RELENG-2240
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
Change-Id: I990d0b5a661664c8e20285b39f1ca8da4c480a8e

5 years agoAdd curl and wget to tools list 41/16041/3
Thanh Ha [Sat, 29 Jun 2019 22:44:02 +0000 (18:44 -0400)]
Add curl and wget to tools list

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

5 years agoPin pytest to 4.6.x 42/16042/2
Thanh Ha [Sun, 30 Jun 2019 02:19:33 +0000 (22:19 -0400)]
Pin pytest to 4.6.x

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.

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

5 years agoUse pre-commit instead of Coala 07/15607/3
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: I0a5dfee8eab3680f472bb6ad6b62c79e7ba4a7b2

5 years agoRevert "Install ius and swap git2u for git" 81/15981/2
Andrew Grimberg [Mon, 24 Jun 2019 22:36:20 +0000 (08:36 +1000)]
Revert "Install ius and swap git2u for git"

This reverts commit ae351944b9b77dfd8ea347f477593e38250cd481.

Reverting as common-packer has code that will fail if it isn't updated
first

Change-Id: Idcf6b8e6e72b03644a8cca69491f6acaa78c8dc7
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoInstall ius and swap git2u for git on RHEL systems 80/15980/1
Andrew Grimberg [Mon, 24 Jun 2019 21:53:05 +0000 (14:53 -0700)]
Install ius and swap git2u for git on RHEL systems

Some of our jobs are failing, or at least having issues, due to not
having a recent enough version of git on the CentOS systems. Updating
the base recommended tooling to include a newer version of git on RHEL
systems should resolve this problem.

Issue: RELENG-2143
Change-Id: I2c690c94d0602b8790e37432ba2e24671e8cccb3
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
5 years agoPin ansible and ansible-lint 79/15979/1
Andrew Grimberg [Mon, 24 Jun 2019 20:57:34 +0000 (13:57 -0700)]
Pin ansible and ansible-lint

Both ansible and ansible-lint need to be pinned to be able to pass the
molecule tests at this time.

Change-Id: Id29d3afbc998fe987be5f57428c061f62229389b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
6 years agoAdd zip to list of common packages 31/13031/1
Jeremy Phelps [Wed, 17 Oct 2018 17:22:12 +0000 (12:22 -0500)]
Add zip to list of common packages

Change-Id: Ic061a79b392631a6f7b400d6b83db8a16e095324
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
6 years agoAdd PlantUML for generating UML diagrams 81/12081/3
Thanh Ha [Thu, 2 Aug 2018 17:03:23 +0000 (13:03 -0400)]
Add PlantUML for generating UML diagrams

Used by Java projects to generate their UML diagrams.

Change-Id: I92dbf23367c356cbf23a0c8dc929247c9b269430
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoAdd dos2unix tool 38/12038/1
Thanh Ha [Mon, 30 Jul 2018 23:16:31 +0000 (19:16 -0400)]
Add dos2unix tool

Change-Id: I367535632a0008762f1f38e2194d6e8dabcf9617
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMigrate from deprecated docker-py to docker 86/11886/1
Thanh Ha [Fri, 20 Jul 2018 18:39:35 +0000 (14:39 -0400)]
Migrate from deprecated docker-py to docker

Change-Id: Ia77ab36a0a63cab1d08e9b5be6bf3b9bb6b60f7a
Signed-off-by: Thanh Ha <zxiiro@linux.com>
7 years agoInstall Ansible PPA on Ubuntu systems 19/10419/1
Thanh Ha [Thu, 3 May 2018 21:22:37 +0000 (17:22 -0400)]
Install Ansible PPA on Ubuntu systems

Issue: RELENG-786
Change-Id: I3d13f25c90ee9467c7a35d254d8bcb2a4fc21b2f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd dstat 18/9018/2
Mohammed Naser [Fri, 23 Feb 2018 01:46:17 +0000 (20:46 -0500)]
Add dstat

This patch adds dstat which is extremely useful in collecting
metrics of a system to verify performance.

Change-Id: I2f0c33c1c8c879c52a094d54fc6a01cf7411e231
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
7 years agoAdd fedora-packager to specific vars file 17/9017/3
Mohammed Naser [Fri, 23 Feb 2018 01:44:22 +0000 (20:44 -0500)]
Add fedora-packager to specific vars file

There is no need to install it seperately, being able to load the
correct lf_recommended_tools_packages_distro based on the OS means
it will be listed there automagically!

Change-Id: I9f1d8ec9542420ddf65411616ffa4d0bd19b8009
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
7 years agoRefactor to install in a single transaction 16/9016/2
Mohammed Naser [Fri, 23 Feb 2018 01:41:13 +0000 (20:41 -0500)]
Refactor to install in a single transaction

This patch moves the variables to the appropriate vars folder with
the correct ansible_os_family.  It lists all of the common packages
in main.yml and distro-specific in the respective YAML file.

It also makes the installation happen with a single transaction
by providing a list to the package module.

Change-Id: Ie9b955280ef488c1e938d2925f1bdf7a7e78ea1a
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
7 years agoMigrate lf-ansible lf-recommended-tools role 15/9015/1
Thanh Ha [Fri, 23 Feb 2018 01:08:41 +0000 (20:08 -0500)]
Migrate lf-ansible lf-recommended-tools role

Change-Id: I9dd56e6d5e44ab951e64660f6d551df79fb35aaf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBootstrap lf-recommended-tools role 14/9014/1
Thanh Ha [Fri, 23 Feb 2018 01:08:41 +0000 (20:08 -0500)]
Bootstrap lf-recommended-tools role

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