Skip to content
Open
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
3 changes: 0 additions & 3 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ exclude_paths:
skip_list:
# Temporary skips made during migration
- args[module]

mock_modules:
- vagrant # only until we publish community.vagrant collection
43 changes: 43 additions & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,46 @@ test/roles/ec2plugin/molecule/default/destroy.yml risky-file-permissions

test/roles/openstackplugin/molecule/default/create.yml yaml[octal-values]
test/roles/openstackplugin/molecule/default/destroy.yml yaml[octal-values]


# Can be removed when https://github.com/ansible/ansible/pull/85005 was merged
test/roles/azureplugin/defaults/main.yml yaml[comments]
test/roles/azureplugin/handlers/main.yml yaml[comments]
test/roles/azureplugin/meta/main.yml yaml[comments]
test/roles/azureplugin/tasks/main.yml yaml[comments]
test/roles/azureplugin/vars/main.yml yaml[comments]
test/roles/containersplugin/defaults/main.yml yaml[comments]
test/roles/containersplugin/handlers/main.yml yaml[comments]
test/roles/containersplugin/meta/main.yml yaml[comments]
test/roles/containersplugin/tasks/main.yml yaml[comments]
test/roles/containersplugin/vars/main.yml yaml[comments]
test/roles/dockerplugin/defaults/main.yml yaml[comments]
test/roles/dockerplugin/handlers/main.yml yaml[comments]
test/roles/dockerplugin/meta/main.yml yaml[comments]
test/roles/dockerplugin/tasks/main.yml yaml[comments]
test/roles/dockerplugin/vars/main.yml yaml[comments]
test/roles/ec2plugin/defaults/main.yml yaml[comments]
test/roles/ec2plugin/handlers/main.yml yaml[comments]
test/roles/ec2plugin/meta/main.yml yaml[comments]
test/roles/ec2plugin/tasks/main.yml yaml[comments]
test/roles/ec2plugin/vars/main.yml yaml[comments]
test/roles/gceplugin/defaults/main.yml yaml[comments]
test/roles/gceplugin/handlers/main.yml yaml[comments]
test/roles/gceplugin/meta/main.yml yaml[comments]
test/roles/gceplugin/tasks/main.yml yaml[comments]
test/roles/gceplugin/vars/main.yml yaml[comments]
test/roles/openstackplugin/defaults/main.yml yaml[comments]
test/roles/openstackplugin/handlers/main.yml yaml[comments]
test/roles/openstackplugin/meta/main.yml yaml[comments]
test/roles/openstackplugin/tasks/main.yml yaml[comments]
test/roles/openstackplugin/vars/main.yml yaml[comments]
test/roles/podmanplugin/defaults/main.yml yaml[comments]
test/roles/podmanplugin/handlers/main.yml yaml[comments]
test/roles/podmanplugin/meta/main.yml yaml[comments]
test/roles/podmanplugin/tasks/main.yml yaml[comments]
test/roles/podmanplugin/vars/main.yml yaml[comments]
test/roles/vagrantplugin/defaults/main.yml yaml[comments]
test/roles/vagrantplugin/handlers/main.yml yaml[comments]
test/roles/vagrantplugin/meta/main.yml yaml[comments]
test/roles/vagrantplugin/tasks/main.yml yaml[comments]
test/roles/vagrantplugin/vars/main.yml yaml[comments]
7 changes: 3 additions & 4 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@

import pytest

from molecule import config, logger
from molecule import config, logger, util
from molecule.app import get_app
from molecule.scenario import ephemeral_directory

LOG = logger.get_logger(__name__)

Expand Down Expand Up @@ -84,8 +83,8 @@ def molecule_ephemeral_directory(_fixture_uuid):
project_directory = f"test-project-{_fixture_uuid}"
scenario_name = "test-instance"

return ephemeral_directory(
os.path.join("molecule_test", project_directory, scenario_name),
return util.os.path.abspath(
os.path.join("molecule_test", project_directory, scenario_name)
)


Expand Down
4 changes: 3 additions & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ collections:
version: ">=1,<2"
- name: community.crypto
version: ">=1.8.0"
- name: community.vagrant
# Workaround since https://github.com/ansible-community/molecule-plugins/issues/301#issuecomment-2675066085 is fixed
# - name: community.vagrant
- git+https://github.com/apatard/community.vagrant.git,initial-import
- name: openstack.cloud
Empty file.
Loading