You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The playbook completes and shows the merged security policies configuration
ACTUAL RESULTS
The playbook fails at the deploy step.
TASK [Deploy security policies]
*****************************************************************************************************
task path: /home/user/ansible/management-network/junos_security_policies.yml:22
redirecting (type: connection) ansible.builtin.netconf to ansible.netcomon.netconf
Loading collection ansible.utils from /home/user/.ansible/collections/ansible_collections/ansible/utils
redirecting (type: become) ansible.builtin.enable to ansible.netcommon.enable
<...> attempting to start connection
<...> using connection plugin ansible.netcomon.netconf
Found ansible-connection at path /home/user/.local/bin/ansible-connection
<...> found existing local domain socket, using it!
<...> local domain socket path is /home/user/.ansible/pc/6e8ae1ef95
redirecting (type: action) junipernetworks.junos.junos_security_policies to junipernetworks.junos.junos
redirecting (type: action) junipernetworks.junos.junos_security_policies to junipernetworks.junos.junos
<...> ANSIBLE_NETWORK IMPORT MODULES: enabled
<...> ANSIBLE_NETWORK IMPORT MODULES: found junipernetworks.junos.junos_security_policies at
/home/user/.ansible/collections/ansible_collections/junipernetworks/junos/plugins/modules/junos_security_policies.py
<...> ANSIBLE_NETWORK IMPORT MODULES: running junipernetworks.junos.junos_security_policies
<...> ANSIBLE_NETWORK IMPORT MODULES: complete
fatal: [fw1]: FAILED! => changed=false
module Stderr: '''then'''
module_stdout: ''
msg: |-
MODULE FAILURE
See stdout/stderr for the exact error
The text was updated successfully, but these errors were encountered:
Roiki11
changed the title
Security_policies
Security_policies module fails with latest junos version
Jun 16, 2023
Roiki11
changed the title
Security_policies module fails with latest junos version
junos_Security_policies module fails with latest junos version
Jun 16, 2023
SUMMARY
junos_security_policies module fails to deploy security policies on junos 23.1R1.8
Retrieving current policies works, however states merged, replaced and overriden result in an error irrespective of the configuration provided.
ISSUE TYPE
COMPONENT NAME
junos_security_policies
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Rocky 9.2
juniper:
Model: srx1500
Junos: 23.1R1.8
STEPS TO REPRODUCE
EXPECTED RESULTS
The playbook completes and shows the merged security policies configuration
ACTUAL RESULTS
The playbook fails at the deploy step.
The text was updated successfully, but these errors were encountered: