GithubHelp home page GithubHelp logo

Comments (7)

alagoutte avatar alagoutte commented on June 14, 2024

hi

From cli, you can use no sntp server X.X.X.X ?

from aruba-ansible-modules.

hrv231 avatar hrv231 commented on June 14, 2024

Hi,

That's not my question, I know how to do this from cli, but I want to use this with ansible to be able to remove it from a list of devices.
How can I accomplish this with your module ?

from aruba-ansible-modules.

tchiapuziowong avatar tchiapuziowong commented on June 14, 2024

Hello!

I'm currently researching how to accomplish this with our current modules, but in the mean time, you can look into using either a AnyCli REST call or an SSH CLI command. Please see this post on our Airheads Developer Community! https://community.arubanetworks.com/t5/Developer-Community/How-to-install-use-CLI-modules-and-tasks-for-Switch-and-CX-in/td-p/534333

from aruba-ansible-modules.

hrv231 avatar hrv231 commented on June 14, 2024

Thank you @tchiapuziowong , hopefully this will be added to the module soon.
Thank you also for the link, I was having some trouble using the modules and samples from:
https://github.com/aruba/aruba-switch-ansible

from aruba-ansible-modules.

FloLaco avatar FloLaco commented on June 14, 2024

Actually you can't do this in Ansible, neither with these modules neither with the URI module because the uri /system/sntp does not support the DELETE method, only GET and PUT.
HPE need to update their OS before Ansible can do something

from aruba-ansible-modules.

alagoutte avatar alagoutte commented on June 14, 2024

@FloLaco do you have try to PUT a empty value ? (for /system/sntp) work for some "URI"

from aruba-ansible-modules.

tchiapuziowong avatar tchiapuziowong commented on June 14, 2024

Hi all! we now have a new SNTP module for AOS-Switch that will allow you to remove SNTP server priority configurations as well as SNTP configurations, at this time only IPv4 SNTP servers are supported through REST API
3e2af16

from aruba-ansible-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.