Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup ansible requirements since they are already in galaxy.yml #42

Merged
merged 2 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ansible-linting-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
with:
target: "./"
python_dependency: "jmespath"
collections_yml: "requirements.yml"
required_collections: 'community.general'
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ cd collections/ansible_collections/l3d/git/

# optionally init git submodules
git submodule update --init --recursive

# optionally install all requirements
ansible-galaxy collection install -r requirements.yml --upgrade
```

You can also list a collection in ``requirements.yml``:
Expand Down Expand Up @@ -69,11 +66,8 @@ Example Playbook using the l3d.git.gitea role:
## Requirements
The roles in this collection using the ``ansible.builtin`` and ``community.general`` ansible Collections. To download the latest forgejo/gitea release we use json_query. This requires ``jmespath`` to be available.

### Example Requirements Installation:
### Example Python Requirements Installation:
```bash
# galaxy requirements
ansible-galaxy collection install -r requirements.yml --upgrade

# pip requirements
pip install -r requirements.txt
```
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tags:
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies:
"community.general": ">=8.3.0"
"community.general": ">=9.2.0"

# The URL of the originating SCM repository
repository: https://github.com/roles-ansible/ansible_collection_git.git
Expand Down
4 changes: 0 additions & 4 deletions requirements.yml

This file was deleted.

Loading