Skip to content

Commit 1b5ce95

Browse files
committed
READMEs
1 parent 7eab152 commit 1b5ce95

File tree

2 files changed

+108
-2
lines changed

2 files changed

+108
-2
lines changed

roles/aws_device_params/README.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,55 @@
1-
TODO
1+
# Ansible Role: aws_device_params
2+
3+
The `aws_device_params` Ansible role reads params from cEdge devices deployed on AWS, so that they can be used through other roles.
4+
5+
## Role Description
6+
7+
The `aws_device_params` role generates deployment facts for already deployed cEdge devices. For each cEdge deployment facts contain information about its:
8+
- `hostname`
9+
- `admin_username`
10+
- `admin_password`
11+
- `mgmt_public_ip`
12+
- `transport_public_ip`
13+
- `service_interfaces`
14+
Additionally the role sets the `manager_authentication` variable, which can be used for logging to vManage in other roles.
15+
16+
## Requirements
17+
18+
- The `cisco.sdwan_deployment` collection installed.
19+
- Ansible 2.16 or higher.
20+
- Ansible AWS modules (`amazon.aws` collection) installed.
21+
- AWS CLI configured with the appropriate permissions to create and manage AWS resources.
22+
23+
## Dependencies
24+
25+
There are no external role dependencies. Only `cisco.sdwan_deployment` collection is required.
26+
27+
### Required Variables
28+
29+
- `aws_tag_creator`: Tag for identifying the creator of AWS resources.
30+
- `aws_region`: AWS region to host the resources.
31+
- `admin_password`: The admin password for virtual machine access.
32+
33+
## Example Playbook
34+
35+
Including an example of how to use your role (for instance, with variables passed in as parameters):
36+
37+
```yaml
38+
- name: Read deployed cEdge parameters
39+
hosts: localhost
40+
gather_facts: false
41+
vars:
42+
aws_region: "us-east-1"
43+
aws_tag_creator: "tag-creator"
44+
admin_password: "password" # pragma: allowlist secret
45+
roles:
46+
- cisco.sdwan_deployment.aws_device_params
47+
```
48+
49+
## License
50+
51+
"GPL-3.0-only"
52+
53+
## Author Information
54+
55+
This role was created by Przemyslaw Susko <sprzemys@cisco.com>
Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
1-
TODO
1+
_# Ansible Role: azure_device_params
2+
3+
The `azure_device_params` Ansible role reads params from cEdge devices deployed on Azure, so that they can be used through other roles.
4+
5+
## Role Description
6+
7+
The `azure_device_params` role generates deployment facts for already deployed cEdge devices. For each cEdge deployment facts contain information about its:
8+
- `hostname`
9+
- `admin_username`
10+
- `admin_password`
11+
- `mgmt_public_ip`
12+
- `transport_public_ip`
13+
- `service_interfaces`
14+
Additionally the role sets the `manager_authentication` variable, which can be used for logging to vManage in other roles.
15+
16+
## Requirements
17+
18+
- The `cisco.sdwan_deployment` collection installed.
19+
- Ansible 2.16 or higher.
20+
- Ansible Azure modules (`azure.azcollection` collection) installed.
21+
- Azure CLI configured with the necessary permissions to manage Azure resources.
22+
23+
## Dependencies
24+
25+
There are no external role dependencies. Only `cisco.sdwan_deployment` collection is required.
26+
27+
### Required Variables
28+
29+
- `admin_password`: The admin password for virtual machine access.
30+
- `az_resource_group`: The name of the Azure resource group for the deployment.
31+
32+
## Example Playbook
33+
34+
Including an example of how to use your role (for instance, with variables passed in as parameters):
35+
36+
```yaml
37+
- name: Read deployed cEdge parameters
38+
hosts: localhost
39+
gather_facts: false
40+
vars:
41+
az_resource_group: "resource-group"
42+
admin_password: "password" # pragma: allowlist secret
43+
roles:
44+
- cisco.sdwan_deployment.azure_device_params
45+
```
46+
47+
## License
48+
49+
"GPL-3.0-only"
50+
51+
## Author Information
52+
53+
This role was created by Przemyslaw Susko <sprzemys@cisco.com>_

0 commit comments

Comments
 (0)