Skip to content

Commit e02fefd

Browse files
committed
rename requirement
1 parent 1a69043 commit e02fefd

File tree

8 files changed

+156
-157
lines changed

8 files changed

+156
-157
lines changed

.github/workflows/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: install prereq
2626
run: |
2727
cd tcharl.ansible_localuser
28-
ansible-galaxy role install -r requirements-standalone.yml
28+
ansible-galaxy role install -r requirements.yml
2929
ansible-galaxy collection install -r requirements-collections.yml
3030
lint:
3131
# The type of runner that the job will run on
@@ -78,4 +78,4 @@ jobs:
7878
- name: execute tests
7979
run: |
8080
cd tcharl.ansible_localuser
81-
tox -e test-exec
81+
tox -e test-exec

.github/workflows/release-galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/setup-python@v2
2121
with:
2222
python-version: ${{ matrix.python-version }}
23-
- uses: actions/cache@v2
23+
- uses: actions/cache@v4
2424
with:
2525
path: ~/.cache/pip
2626
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
@@ -31,4 +31,4 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install -r requirements.txt
3333
- name: Trigger a new import on Galaxy.
34-
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
34+
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)

molecule/default/molecule.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
dependency:
33
name: galaxy
4+
enabled: ${DEPENDENCY_ENABLED:-True}
45
options:
5-
role-file: requirements-standalone.yml
6+
role-file: ${REQUIREMENTS_PATH:-requirements.yml}
67
requirements-file: requirements-collections.yml
78
driver:
89
name: docker
910
platforms:
10-
- name: ansible-users-vm
11+
- name: ansible-localuser
1112
image: fedora:38
1213
volumes:
1314
- /sys/fs/cgroup:/sys/fs/cgroup:ro

poetry.lock

Lines changed: 72 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jmespath = "^1.0.1"
1818
[tool.poetry.group.dev.dependencies]
1919
flake8 = "*"
2020
yamllint = "*"
21-
pytest-testinfra = "*"
2221
tox = "*"
22+
pytest-testinfra = "*"
2323
molecule = "25.1.0"
24+
molecule-plugins = {version = "*", extras = ["docker"]} # https://github.com/ansible-community/molecule-plugins/pull/237
2425
ansible-lint = { version = "v25.4.0", markers = "platform_system != 'Windows'" }
25-
molecule-plugins = {version = "*", extras = ["docker"]}
2626

2727
[build-system]
2828
requires = ["poetry-core"]

requirements-dev.txt

Lines changed: 64 additions & 64 deletions
Large diffs are not rendered by default.

requirements.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
ansible-core==2.18.5 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
2-
ansible==11.5.0 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
3-
cffi==1.17.1 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and platform_python_implementation != "PyPy" and python_version >= "3.11"
4-
cryptography==44.0.2 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
5-
jinja2==3.1.6 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
6-
jmespath==1.0.1 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
7-
markupsafe==3.0.2 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
8-
packaging==25.0 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
9-
pycparser==2.22 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and platform_python_implementation != "PyPy" and python_version >= "3.11"
10-
pyyaml==6.0.2 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
11-
resolvelib==1.0.1 ; (sys_platform == "linux2" or sys_platform == "linux" or sys_platform != "linux2" and sys_platform != "linux") and python_version >= "3.11"
1+
ansible-core==2.18.5 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
2+
ansible==11.5.0 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
3+
cffi==1.17.1 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and platform_python_implementation != "PyPy" and python_version >= "3.11"
4+
cryptography==44.0.2 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
5+
jinja2==3.1.6 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
6+
jmespath==1.0.1 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
7+
markupsafe==3.0.2 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
8+
packaging==25.0 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
9+
pycparser==2.22 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and platform_python_implementation != "PyPy" and python_version >= "3.11"
10+
pyyaml==6.0.2 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"
11+
resolvelib==1.0.1 ; (sys_platform == "linux" or sys_platform == "linux2" or sys_platform != "linux" and sys_platform != "linux2") and python_version >= "3.11"

0 commit comments

Comments
 (0)