Skip to content

kerentraht/moreAutomations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

moreAutomations

This repo contains an Ansible-based automation for CVO customers, that retreives all resources of a user per account, and checks if a given serial number is in use.

Documentation

Prerequesits:

  • A server/computer that has https access to the internet (in particular to: cloudmanager.netapp.com and cloudsync.netapp.com )
  • A valid version of Ansible installed
  • The current dir cloned into the server
  • An API refresh_token (Click here for the refresh token generator site)

Usage

Run the following command from the main folder of this repository with extre-vars as explained below (do not keep the square brackets in the final command):

Ansible-playbook playbooks/get_working_environments.yml  --extra-vars="refresh_token=[YOUR_REFRESH_TOKEN] serial_id=[SERIAL_ID]"
  • refresh_token: Your user's refresh token for all Cloud Central APIs
  • serial_id (optional): The serial_id you would like to search for

Example:

Ansible-playbook playbooks/get_working_environments.yml  --extra-vars="refresh_token=fdkjn3094uwer9u4rhedoif390e8whdf"

GOOD LUCK 👍

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published