Skip to content

Instantly share code, notes, and snippets.

View thedoubl3j's full-sized avatar
:shipit:
Ansible and Python

Jake Jackson thedoubl3j

:shipit:
Ansible and Python
View GitHub Profile
bash-3.2$ ansible-galaxy collection install netapp.ontap -p ~/.ansible/collections/ansible_collections/
[WARNING]: The specified collections path '/Users/jajackso/.ansible/collections/ansible_collections' is not part of the configured Ansible collections paths '/Users/jajackso/.ansible/collections:/usr/share/ansible/collections'.
The installed collection won't be picked up in an Ansible run.
[WARNING]: Collection at '/Users/jajackso/.ansible/collections/ansible_collections/cyberark/ansible-security-automation-collection' does not have a MANIFEST.json file, cannot detect version.
[WARNING]: Collection at '/Users/jajackso/.ansible/collections/ansible_collections/thedoubl3j/test' does not have a MANIFEST.json file, cannot detect version.
[WARNING]: Collection at '/Users/jajackso/.ansible/collections/ansible_collections/f5networks/ansible_collections_f5' does not have a MANIFEST.json file, cannot detect version.
ansible-galaxy install netapp.ontap -p ~/.ansible/collections/ansible_collections/
- downloading role 'ontap', owned by netapp
[WARNING]: - netapp.ontap was NOT installed successfully: Failed to parse Galaxy response from 'https://galaxy.ansible.com/v1/roles/?owner__username=netapp&name=ontap' as JSON: <!doctype html> <html lang="en"> <head> <script
id="adobe_dtm" src="//www.redhat.com/dtm.js" type="text/javascript"></script> <meta charset="utf-8"> <title>Ansible Galaxy</title> <meta name="description" content="Jump start your automation project with great content from
the Ansible community" /> <meta name="author" content="Ansible, Inc" /> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" sizes="180x180"
href="/assets/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"> <link rel="manifest"
hr

Keybase proof

I hereby claim:

  • I am thedoubl3j on github.
  • I am thedoubl3j (https://keybase.io/thedoubl3j) on keybase.
  • I have a public key ASAGTNP_qQvrsYWan6PJ9a6AfBQNfKOeHUbGIOGNzF1wzAo

To claim this, I am signing this object:

@thedoubl3j
thedoubl3j / gist:83830e336f493d6fc99d92c79718c469
Created January 28, 2019 15:09
public because I am noob
_______________________________________________________________________________ TestMyModule.test_ensure_apply_for_ucadapter_called _______________________________________________________________________________
self = <units.modules.storage.netapp.test_na_ontap_ucadapter.TestMyModule testMethod=test_ensure_apply_for_ucadapter_called>
def test_ensure_apply_for_ucadapter_called(self):
''' configuring ucadaptor and checking idempotency '''
module_args = {}
module_args.update(self.set_default_args())
module_args.update({'type': 'target'})
module_args.update({'mode': 'initiator'})