Skip to content

Commit

Permalink
ci: fix some linter errors
Browse files Browse the repository at this point in the history
```
ansible-lint --show-relpath
```

Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Feb 14, 2024
1 parent a2592eb commit f27b9a3
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM python:3.11
RUN pip install --no-cache-dir ansible
RUN pip install --no-cache-dir ansible==9.2

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 0: pipCommand not pinned by hash
Click Remediation section below to solve this issue
3 changes: 1 addition & 2 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ license_file: ''

# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
# requirements as 'namespace' and 'name'
tags: [opi, dpu, redfish, automation, devops]
tags: [opi, dpu, redfish, automation, devops, infrastructure]

# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range
Expand Down Expand Up @@ -70,4 +70,3 @@ build_ignore:
# 'omit_default_directives' is a boolean that controls whether the default directives are used. Mutually exclusive
# with 'build_ignore'
# manifest: null

10 changes: 5 additions & 5 deletions roles/bmc_factory_reset/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Factory reset BMC
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
10 changes: 5 additions & 5 deletions roles/bmc_fw_update/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Update BMC firmware
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
10 changes: 5 additions & 5 deletions roles/bmc_reboot/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Reboot BMC
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
10 changes: 5 additions & 5 deletions roles/enable_secure_boot/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Enable DPU secure boot
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
10 changes: 5 additions & 5 deletions roles/get_bmc_facts/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Gather facts about BMC
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down
10 changes: 5 additions & 5 deletions roles/update_bmc_password/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
author: OPI Memebers <[email protected]>
description: Update BMC password
company: https://opiproject.org/

# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
Expand All @@ -14,9 +14,9 @@ galaxy_info:
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
license: Apache-2.0

min_ansible_version: 2.1
min_ansible_version: "2.1"

# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
Expand Down

0 comments on commit f27b9a3

Please sign in to comment.