-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
SUMMARY
ISSUE TYPE
- Bug Report
COMPONENT NAME
ANSIBLE VERSION
ansible-core 2.12 with ansible.snmp 1.2.0
ansible-core 2.14 with ansible.snmp 2.0.0
COLLECTION VERSION
all three, 1.2.0 and 2.0.0
CONFIGURATION
COLOR_ERROR(/home/.ansible.cfg) = red
COLOR_VERBOSE(/home/.ansible.cfg) = white
COLOR_WARN(/home/.ansible.cfg) = bright purple
DEFAULT_GATHERING(/home/.ansible.cfg) = explicit
DEFAULT_LOAD_CALLBACK_PLUGINS(/home/.ansible.cfg) = True
DEFAULT_LOG_PATH(/home/.ansible.cfg) = /tmp/ansible.log
DEFAULT_ROLES_PATH(/home/.ansible.cfg) = ['/home/etc-roles>
DEFAULT_TIMEOUT(/home/.ansible.cfg) = 30
DEPRECATION_WARNINGS(/home/.ansible.cfg) = False
HOST_KEY_CHECKING(/home/.ansible.cfg) = False
INTERPRETER_PYTHON(/home/.ansible.cfg) = auto_silent
INVENTORY_ENABLED(/home/.ansible.cfg) = [ 'nmap', 'host_list', 'script', 'yaml', 'ini']
OS / ENVIRONMENT
RHEL or Oracle Linux 9
STEPS TO REPRODUCE
The task that fails read this code
- name: Gather SNMP v3 facts
connection: ansible.snmp.v3_usm
vars:
host: "{{ hostname }}"
sec_level: authPriv
version: 3
username: "{{ snmpv3_user }}"
auth_proto: SHA1
auth_pass: "{{ _authpasswd }}"
priv_proto: AES128
priv_pass: "{{ _privpasswd }}"
ansible.snmp.get:
oids:
- oid: "SNMPv2-MIB::sysName.0"
- oid: "SNMPv2-MIB::sysLocation.0"
# ignore_errors: true
register: _snmp1_facts
EXPECTED RESULTS
Expected is to receive snmp system name and location.
ACTUAL RESULTS
error
snmp_new_v3_session:Unsupported privacy protocol(DES)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels