Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling NTP authentication does not work #549

Open
oghoneim opened this issue Jul 25, 2024 · 0 comments
Open

Disabling NTP authentication does not work #549

oghoneim opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@oghoneim
Copy link

SUMMARY

When trying to configure ntp on a switch running EOS 4.31.3M the ntp ansible module will not disable authentication

ISSUE TYPE
  • Bug Report
COMPONENT NAME

arista.eos.eos_ntp_global module

ANSIBLE VERSION
ansible [core 2.15.0]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/miro/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/miro/.local/lib/python3.10/site-packages/ansible
  ansible collection location = /home/miro/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/miro/.local/bin/ansible
  python version = 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = False

COLLECTION VERSION
Collection Version
---------- -------
arista.eos 10.0.0 

CONFIGURATION
CONFIG_FILE() = /etc/ansible/ansible.cfg
DEFAULT_JINJA2_EXTENSIONS(/etc/ansible/ansible.cfg) = jinja2.ext.do,jinja2.ext.i18n,jinja2.ext.loopcontrols
DUPLICATE_YAML_DICT_KEY(/etc/ansible/ansible.cfg) = error
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False

OS / ENVIRONMENT

EOS 4.31.3M

STEPS TO REPRODUCE

I'm trying to run the following task:

- name: Setup NTP
  arista.eos.eos_ntp_global:
    config:
      authenticate:
        enable: false
        servers: false
      local_interface: "Management1"
      servers:
        - server: "0.pool.ntp.org"
        - server: "1.pool.ntp.org"
EXPECTED RESULTS

I expect the switch config to be:

ntp local-interface Management1
ntp server 0.pool.ntp.org
ntp server 1.pool.ntp.org
ACTUAL RESULTS

However the command 'ntp authenticate' is still on the switch causing ntp sync to fail

ntp authenticate
ntp local-interface Management1
ntp server 0.pool.ntp.org
ntp server 1.pool.ntp.org
@Ruchip16 Ruchip16 self-assigned this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants