Skip to content

eos_acls | changed is always false #610

@idculver27

Description

@idculver27
SUMMARY

changed is always false in check mode, even when commands is not an empty list.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

arista.eos.eos_acls

ANSIBLE VERSION
ansible [core 2.18.5]
  config file = None
  configured module search path = ******
  ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
  ansible collection location = /runner/requirements_collections:/runner/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.11.11 (main, Feb 10 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.11)
  jinja version = 3.1.6
  libyaml = True

(some things removed for privacy)

COLLECTION VERSION
# /runner/requirements_collections/ansible_collections
Collection Version
---------- -------
arista.eos 12.0.0 

# /usr/share/ansible/collections/ansible_collections
Collection Version
---------- -------
arista.eos 10.0.1 
CONFIGURATION
ANSIBLE_FORCE_COLOR(env: ANSIBLE_FORCE_COLOR) = True
COLLECTIONS_PATHS(env: ANSIBLE_COLLECTIONS_PATH) = ['/runner/requirements_collections', '/runner/.ansible/collections', '/usr/share/ansible/collections']
CONFIG_FILE() = None
DEFAULT_CALLBACK_PLUGIN_PATH(env: ANSIBLE_CALLBACK_PLUGINS) = ['/runner/project/callback_plugins', '/usr/local/lib/python3.11/site-packages/ansible_runner/display_callback/callback']
DEFAULT_MODULE_PATH(env: ANSIBLE_LIBRARY) = ******
DEFAULT_ROLES_PATH(env: ANSIBLE_ROLES_PATH) = ['/runner/requirements_roles', '/runner/.ansible/roles', '/usr/share/ansible/roles', '/etc/ansible/roles']
DEFAULT_STDOUT_CALLBACK(env: ANSIBLE_STDOUT_CALLBACK) = awx_display
GALAXY_SERVER_LIST(env: ANSIBLE_GALAXY_SERVER_LIST) = ['remote', 'local']
HOST_KEY_CHECKING(env: ANSIBLE_HOST_KEY_CHECKING) = False
INVENTORY_UNPARSED_IS_FAILED(env: ANSIBLE_INVENTORY_UNPARSED_FAILED) = True
RETRY_FILES_ENABLED(env: ANSIBLE_RETRY_FILES_ENABLED) = False
USE_PERSISTENT_CONNECTIONS(env: ANSIBLE_USE_PERSISTENT_CONNECTIONS) = True

GALAXY_SERVERS:


remote
======
url(env: ANSIBLE_GALAXY_SERVER_REMOTE_URL) = ******

local
=====
url(env: ANSIBLE_GALAXY_SERVER_LOCAL_URL) = ******

(some things removed for privacy)

OS / ENVIRONMENT

Target device is an Arista DCS-7280CR3MK-32D4S-F on version 4.32.5.1M

STEPS TO REPRODUCE

Run a check mode job using the eos_acls module that would make changes to ACLs on the target device.

EXPECTED RESULTS

changed: true in the output

ACTUAL RESULTS

changed: false in the output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions