Skip to content

Commit af3574b

Browse files
committed
README update to add inventory file and variables example
1 parent c66a75d commit af3574b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,19 @@ Once the collection is installed, you can use it in a playbook by specifying the
3333
cisco.nd.nd_version:
3434
state: query
3535
```
36+
With the following inventory file:
37+
```yaml
38+
nd ansible_host=10.0.0.1 ansible_user=admin ansible_ssh_pass="MySuperPassword"
39+
40+
[nd:vars]
41+
ansible_connection=ansible.netcommon.httpapi
42+
ansible_network_os=cisco.nd.nd
43+
ansible_httpapi_validate_certs=False
44+
ansible_httpapi_use_ssl=True
45+
ansible_httpapi_use_proxy=True
46+
```
3647

37-
You can also use the ND HTTPAPI connection plugin with your cisco.mso Ansible collection for MSO running on ND (MSO version >= 3.2)
48+
You can also use the ND HTTPAPI connection plugin with your cisco.mso Ansible collection for MSO running on ND (MSO version >= 3.2) using the inventory file above.
3849
```yaml
3950
- hosts: nd
4051
gather_facts: no

0 commit comments

Comments
 (0)