Skip to content

Commit

Permalink
Make core extra use ansible-core
Browse files Browse the repository at this point in the history
Fixes: #1717
  • Loading branch information
ssbarnea committed Sep 7, 2021
1 parent 90e7449 commit 7604a60
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -84,7 +84,7 @@ repos:
args: ["--strict"]
additional_dependencies:
- Sphinx>=3.1.2
- ansible-base
- ansible-core
- enrich
- flaky
- pytest
Expand All @@ -107,7 +107,7 @@ repos:
hooks:
- id: pylint
additional_dependencies:
- ansible-base
- ansible-core
- docutils
- enrich
- flaky
Expand Down
2 changes: 1 addition & 1 deletion docs/installing.rst
Expand Up @@ -29,7 +29,7 @@ related to containers and use the discussions_ forum instead.
specific version of Ansible. You need to either install the desired version
of Ansible yourself or mention one of the helper extras:

* ``core`` - will install the latest version of ansible-base 2.10
* ``core`` - will install the latest version of ansible-core 2.11+
* ``community`` - will install the latest version of ansible 2.10 with community collections

Using pip or pipx
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.in
@@ -1,4 +1,4 @@
ansible-base # needed by rules_table_generator
ansible-core # needed by rules_table_generator
myst-parser
pipdeptree
pytest
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Expand Up @@ -5,7 +5,7 @@
# pip-compile --extra=yamllint --no-annotate --output-file=docs/requirements.txt docs/requirements.in setup.cfg
#
alabaster==0.7.12
ansible-base==2.10.13
ansible-core==2.11.4
ansible-pygments==0.1.0
attrs==21.2.0
babel==2.9.1
Expand Down
2 changes: 1 addition & 1 deletion examples/roles/dependency_in_meta/meta/main.yml
Expand Up @@ -22,7 +22,7 @@ dependencies:
name: nginx_role

# from GitLab or other git-based scm
- src: git@gitlab.company.com:mygroup/ansible-base.git
- src: git@gitlab.company.com:mygroup/myrepo.git
scm: git
version: "0.1" # quoted, so YAML doesn't parse this as a floating-point value

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -95,7 +95,7 @@ community =
ansible>=2.10 # GPLv3+
# this will move to latest stable ansible as soon that is released
core =
ansible-base>=2.10 # GPLv3+
ansible-core>=2.11.4 # GPLv3+
# will install ansible from devel branch, may break at any moment.
; Disabled due to https://github.com/pypa/twine/issues/726
; devel =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -14,7 +14,7 @@ description =
Run the tests under {basepython} and
devel: ansible devel branch
ansible29: ansible 2.9
core: ansible-base 2.10
core: ansible-core 2.11+
py: ansible-core 2.11
extras =
yamllint
Expand Down

0 comments on commit 7604a60

Please sign in to comment.