Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Rajesh Tailor 9bf550c808 Fix typo from `sdtout` to `stdout`
Change-Id: I0619f231f90f25d6f52fa4def35048e89278f267
2022-06-27 22:10:20 +05:30
wes hayutin 37109c55aa Revert "Upgrade linters (ansible-lint v5)"
This reverts commit ac93fbbb47.

Reason for revert: breaks default install path for quickstart

Change-Id: I7d513d1bffdfd4293f199c38216ceb00343e06c5
2021-03-12 17:50:42 +00:00
Sorin Sbarnea ac93fbbb47 Upgrade linters (ansible-lint v5)
Change-Id: I75562efd62fff9739d32f8b1b92e7826120e9d1a
2021-03-11 13:48:54 +00:00
Sorin Sbarnea 16649df878 lint: bumping to latest versions
- run `pre-commit autoupdate` and fixed new issues
- adopted newer pre-commit config for ansible-lint 4.2.0+
- fixed some reported broken rules
- temporary disabled few rules, just to contain the size of of review,
  planning to drop/fix them in follow-ups.

Change-Id: I807ba4e919527be56c85ec72d0f4c7148f04e994
2020-01-05 19:36:36 +00:00
Sorin Sbarnea 1c6b947bf2 ansible-lint: removed skip of 206
- Fixes 206 errors and removed the skip.
- Also replaces revision with latest tag (pushed today)

Bug: https://bugs.launchpad.net/tripleo/+bug/1848512
Change-Id: I69d75ba9de8ab0e91eb45fd4f9febfdb28cdcb3a
2019-10-25 17:15:40 +01:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Matt Young 7aa19020bc Add /root/.cache/image-create to cleanup role
This commit clears the DIB cache on virthosts used in rdophase2.

Change-Id: I6b77d1b0f11d7240179f67cca6a84e7909d3fd20
2017-07-24 15:18:21 +00:00
Harry Rybacki 2367ff2f42 Remove hardcoded instances of `stack` from roles
We are moving away from hardcoding the stack user and opting to
replace it with `undercloud_user` and `non_root_user` as appropriate
to increase flexibility of OOOQ and OOOQ-Extras.

Change-Id: I7ea43a3fabab2c69fd4f3b5550ea5e4627443406
2017-02-26 18:57:26 +00:00
Gael Chamoulaud 7499fb582a Fix ansible-lint.sh script for roles.
- According to the ansible-lint documentation, we can pass a role directory as
  an argument. But due to https://github.com/willthames/ansible-lint/issues/210,
  the role directory has to contain a trailing slash!

- This patch fixes the following ansible-lint rules:
  * ANSIBLE0004: Git checkouts must contain explicit version
  * ANSIBLE0008: Deprecated sudo
  * ANSIBLE0011: All tasks should be named
  * ANSIBLE0014: Environment variables don't work as part of command
  * ANSIBLE0015: Using bare variables is deprecated

- Temporarily skipping the following ansible-lint rules (Fixes will be part of
  others patches):
  * ANSIBLE0007: Using command rather than an argument to e.g file
    We have a lot of 'rm' command and we should use file module instead
  * ANSIBLE0012: Commands should not change things if nothing needs doing
  * ANSIBLE0013: Use Shell only when shell functionality is required

Change-Id: I3d5591ea9fd1691e8115d7093db87781a08a6082
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-02-21 14:06:41 +01:00
Gael Chamoulaud db2136fa16 [virthost-full-cleanup] use 'become' instead of 'sudo'
- This patch avoids deprecations warning about using sudo/sudo_user
  instead of become/become_user.

Change-Id: I1f4909cd25ffbe3d53dd55118fe1af0052cf6b9a
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-01-03 15:30:38 +01:00
Attila Darazs b706801eac Cleanup and move files for virthost-full-cleanup 2016-11-21 11:50:17 +01:00