Receiving this message when running my playbook using the junipernetworks.junos.junos_acls module. Not having issues with other modules:
TASK [Apply Firewall filters] ******************************************************************************
task path: /home/aknop/GitRepos/obs-net-ansible-juniper-automation/playbooks/ansible-juniper-delete-add/firewall_filters_policies/firewall_filters_policies_ptn.yml:47
Loading collection ansible.netcommon from /home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/lib/python3.12/site-packages/ansible_collections/ansible/netcommon
Loading collection ansible.utils from /home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/lib/python3.12/site-packages/ansible_collections/ansible/utils
<172.22.133.39> Using network group action junipernetworks.junos.junos for junipernetworks.junos.junos_acls
<172.22.133.39> attempting to start connection
<172.22.133.39> using connection plugin ansible.netcommon.netconf
<172.22.133.39> found existing local domain socket, using it!
<172.22.133.39> identified ncclient device handler: junos.
<172.22.133.39> ESTABLISH NETCONF SSH CONNECTION FOR USER: ansible_obs on PORT 830 TO 172.22.133.39 WITH SSH_CONFIG = None
<172.22.133.39> Loading collection ansible.builtin from
<172.22.133.39> local domain socket path is /home/aknop/.ansible/pc/28d6dd174c
<172.22.133.39> ANSIBLE_NETWORK_IMPORT_MODULES: enabled
<172.22.133.39> ANSIBLE_NETWORK_IMPORT_MODULES: found junipernetworks.junos.junos_acls at /home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/lib/python3.12/site-packages/ansible_collections/junipernetworks/junos/plugins/modules/junos_acls.py
<172.22.133.39> ANSIBLE_NETWORK_IMPORT_MODULES: running junipernetworks.junos.junos_acls
<172.22.133.39> ANSIBLE_NETWORK_IMPORT_MODULES: _load_params skipped for action plugin in direct execution
<172.22.133.39> ANSIBLE_NETWORK_IMPORT_MODULES: complete
[ERROR]: Task failed: Action failed: Unknown profile name 'module_None_m2c'.
Origin: /home/aknop/GitRepos/obs-net-ansible-juniper-automation/playbooks/ansible-juniper-delete-add/firewall_filters_policies/firewall_filters_policies_ptn.yml:47:7
45 # Apply Configuration Based on Platform
46 ###########################################################
47 - name: Apply Firewall filters
^ column 7
fatal: [ROUTER1]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"config": [
{
"acls": [
{
"aces": [
{
"destination": null,
"grant": null,
"name": "allow-icmp",
"protocol": "icmp",
"protocol_options": null,
"source": null
},
{
"destination": null,
"grant": null,
"name": "allow-ntp",
"protocol": null,
"protocol_options": null,
"source": {
"address": null,
"port_protocol": null,
"prefix_list": [
{
"name": "ntp"
}
]
}
},
{
"destination": null,
"grant": null,
"name": "allow-ntp",
"protocol": null,
"protocol_options": null,
"source": {
"address": null,
"port_protocol": null,
"prefix_list": [
{
"name": "nms"
}
]
}
},
{
"destination": null,
"grant": null,
"name": "allow-ntp",
"protocol": "ntp",
"protocol_options": null,
"source": null
}
],
"name": "dlr-local"
}
],
"afi": "ipv4"
}
],
"running_config": null,
"state": "replaced"
}
},
"msg": "Unknown profile name 'module_None_m2c'."
}
$ ansible --version
ansible [core 2.20.6]
config file = /home/aknop/.ansible.cfg
configured module search path = ['/home/aknop/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/lib/python3.12/site-packages/ansible
ansible collection location = /home/aknop/.ansible/collections:/usr/share/ansible/collections
executable location = /home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/bin/ansible
python version = 3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0] (/home/aknop/GitRepos/obs-net-ansible-juniper-automation/.venv/bin/python3)
jinja version = 3.1.6
pyyaml version = 6.0.3 (with libyaml v0.2.5)
Receiving this message when running my playbook using the junipernetworks.junos.junos_acls module. Not having issues with other modules:
Ansible Info:
Using collection version 11.1.1:
junipernetworks.junos 11.1.1