Skip to content

Commit

Permalink
Merge pull request #55 from cisco-en-programmability/develop
Browse files Browse the repository at this point in the history
Develop - v6.2.1 - update readme
  • Loading branch information
wastorga authored Mar 24, 2022
2 parents 519fd58 + a94a929 commit bc5b953
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ This collection has been tested and supports Cisco DNA Center 2.2.3.3.

*Note: This collection is not compatible with versions of Ansible before v2.8.*

Other versions of this collection have support for previous Cisco DNA Center versions. The recommended versions are listed below on the [Compatibility matrix](#compatibility-matrix).
Other versions of this collection have support for previous Cisco DNA Center versions. The recommended versions are listed below on the [Compatibility matrix](https://github.com/cisco-en-programmability/dnacenter-ansible#compatibility-matrix).

## Compatibility matrix

| Cisco DNA Center version | Ansible "cisco.dnac" version | Python "dnacentersdk" version |
|--------------------------|------------------------------|-------------------------------|
| 2.1.1 | 3.0.0 | 2.2.5 |
| 2.2.2.3 | 3.3.1 | 2.3.3 |
| 2.2.3.3 | 6.1.0 | 2.4.7 |
| 2.2.3.3 | 6.2.1 | 2.4.8 |

*Notes*:

Expand Down Expand Up @@ -59,7 +59,7 @@ Install the collection ([Galaxy link](https://galaxy.ansible.com/cisco/dnac))
ansible-galaxy collection install cisco.dnac
```
## Use
First, define a `credentials.yml` ([example](playbooks/credentials.template)) file where you specify your DNA Center credentials as Ansible variables:
First, define a `credentials.yml` ([example](https://github.com/cisco-en-programmability/dnacenter-ansible/blob/main/playbooks/credentials.template)) file where you specify your DNA Center credentials as Ansible variables:
```
---
dnac_host: <A.B.C.D>
Expand All @@ -71,13 +71,13 @@ dnac_verify: False # optional, defaults to True
dnac_debug: False # optional, defaults to False
```

Create a `hosts` ([example](playbooks/hosts)) file that uses `[dnac_servers]` with your Cisco DNA Center Settings:
Create a `hosts` ([example](https://github.com/cisco-en-programmability/dnacenter-ansible/blob/main/playbooks/hosts)) file that uses `[dnac_servers]` with your Cisco DNA Center Settings:
```
[dnac_servers]
dnac_server
```

Then, create a playbook `myplaybook.yml` ([example](playbooks/tag.yml)) referencing the variables in your credentials.yml file and specifying the full namespace path to the module, plugin and/or role:
Then, create a playbook `myplaybook.yml` ([example](https://github.com/cisco-en-programmability/dnacenter-ansible/blob/main/playbooks/tag.yml)) referencing the variables in your credentials.yml file and specifying the full namespace path to the module, plugin and/or role:
```
- hosts: dnac_servers
vars_files:
Expand All @@ -100,7 +100,7 @@ Execute the playbook:
```
ansible-playbook -i hosts myplaybook.yml
```
In the `playbooks` [directory](playbooks/) you can find more examples and use cases.
In the `playbooks` [directory](https://github.com/cisco-en-programmability/dnacenter-ansible/blob/main/playbooks) you can find more examples and use cases.


## Update
Expand Down
6 changes: 6 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -519,3 +519,9 @@ releases:
- file_info - add parameter filename.
- reports_executions_info - Instead of returning the data string, it now returns a dictionary. The dictionary has property data with the previous string value.
- reports_executions_info - add parameter filename.
6.2.1:
release_date: "2022-03-24"
changes:
release_summary: Update README
bugfixes:
- Update README, update Compatibility matrix.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: dnac
version: 6.2.0
version: 6.2.1
readme: README.md
authors:
- Rafael Campos <[email protected]>
Expand Down

0 comments on commit bc5b953

Please sign in to comment.