Fix metadata for Galaxy
Change-Id: Icffafc9268c9e0b7d2362f7ea03dfd75f28b6690
diff --git a/.gitreview b/.gitreview
deleted file mode 100644
index a474b90..0000000
--- a/.gitreview
+++ /dev/null
@@ -1,5 +0,0 @@
-[gerrit]
-host=gerrit.opencord.org
-port=29418
-project=ansible/role/enodebd.git
-defaultremote=origin
diff --git a/.reuse/dep5 b/.reuse/dep5
index 1ae2f3b..eed4af4 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -1,6 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Files: .cookiecutter_params.json VERSION .gitreview
+Files: .cookiecutter_params.json VERSION README.md
Copyright: 2020 Open Networking Foundation
License: Apache-2.0
diff --git a/Makefile b/Makefile
index 7563f65..4d77b7f 100644
--- a/Makefile
+++ b/Makefile
@@ -23,17 +23,20 @@
-d "{extends: default, rules: {line-length: {max: 99}}}" \
-s $(YAML_FILES)
+# List of molecule files, not including base molecule.yml which isn't ansible format
+MOLECULE_FILES ?= $(shell find molecule -type f -name '*.yml' \! -name 'molecule.yml' -print )
+
ansiblelint: ## lint check with ansible-lint
ansible-lint --version
ansible-lint -v .
- ansible-lint -v molecule/*/*
+ ansible-lint -v $(MOLECULE_FILES)
license: ## Check license with the reuse tool
reuse --version
reuse --root . lint
help: ## Print help for each target
- @echo netbox test targets
+ @echo enodebd test targets
@echo
@grep '^[[:alnum:]_-]*:.* ##' $(MAKEFILE_LIST) \
| sort | awk 'BEGIN {FS=":.* ## "}; {printf "%-25s %s\n", $$1, $$2};'
diff --git a/README.md b/README.md
index 4470b42..36450e4 100644
--- a/README.md
+++ b/README.md
@@ -1,57 +1,23 @@
-<!--
-SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
-SPDX-License-Identifier: Apache-2.0
---!>
-# netbox
+# enodebd
-This role installs or updates the [NetBox IPAM/DCIM
-System](https://github.com/netbox-community/netbox).
-
-By default, it installs in `/opt/netbox`, which is a symlink to
-`/opt/netbox-<version>`
-
-Media and other uploaded files are stored in `/opt/netbox_media`
-
-This role runs the `update.sh` script during execution, which handles initial
-database creation, upgrade migration, etc.
+This installs enodebd
## Requirements
-Must have PostgreSQL and Redis roles installed.
-
-Likely also want to have the NGINX webserver, configured to proxy to gunicorn,
-and to serve static files directly:
-
-```
- proxy_pass: "http://localhost:8001"
- extra_config: |
- location /static/ {
- alias /opt/netbox/netbox/static/;
- }
-```
-
Minimum ansible version: 2.9.5
## Defaults
-See `defaults/main.yml`. Most of these variables are either related to the
-database, the initial superuser on the site, or specific to Netbox, in which
-case you should refer to the [NetBox
-documentation](https://netbox.readthedocs.io/en/stable/).
-
## Example Playbook
```yaml
-- hosts: netbox
+- hosts: enodebd
roles:
- - nginx
- - postgres
- - redis
- - netbox
+ - enodebd
```
## License and Author
-© 2020 Open Networking Foundation <support@opennetworking.org>
+© 2022 Open Networking Foundation <support@opennetworking.org>
License: Apache-2.0
diff --git a/meta/main.yml b/meta/main.yml
index ff32931..3d9f4cb 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -5,6 +5,9 @@
# SPDX-License-Identifier: Apache-2.0
galaxy_info:
+ role_name: enodebd
+ namespace: onf
+
author: Open Networking Foundation
description: enodeb daemon for enodeb configuration
company: Open Networking Foundation
@@ -16,10 +19,12 @@
min_ansible_version: 2.9.5
platforms:
- - name: Ubuntu
+ - name: ubuntu
versions:
- - "16.04"
- - "18.04"
+ - bionic
+ - name: Debian
+ versions:
+ - bullseye
galaxy_tags:
- enodebd
diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml
index 0667152..b52ee48 100644
--- a/molecule/default/converge.yml
+++ b/molecule/default/converge.yml
@@ -1,5 +1,5 @@
---
-# netbox molecule/default/verify.yml
+# enodebd molecule/default/verify.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index 26604ce..f08a0ab 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -1,5 +1,5 @@
---
-# netbox molecule/default/molecule.yml
+# enodebd molecule/default/molecule.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml
index 0723bfa..b58cc40 100644
--- a/molecule/default/prepare.yml
+++ b/molecule/default/prepare.yml
@@ -1,5 +1,5 @@
---
-# netbox molecule/default/prepare.yml
+# enodebd molecule/default/prepare.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
index 7148f39..2a3f1a4 100644
--- a/molecule/default/verify.yml
+++ b/molecule/default/verify.yml
@@ -1,5 +1,5 @@
---
-# netbox molecule/default/verify.yml
+# enodebd molecule/default/verify.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
diff --git a/tasks/main.yml b/tasks/main.yml
index 033163b..0803d00 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,5 +1,5 @@
---
-# netbox tasks/main.yml
+# enodebd tasks/main.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0