Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eumel8/otc_vpc
https://github.com/eumel8/otc_vpc
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eumel8/otc_vpc
- Owner: eumel8
- Created: 2018-08-09T11:41:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T05:22:39.000Z (over 3 years ago)
- Last Synced: 2024-10-16T08:48:06.851Z (2 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
otc_vpc
=======OTC role for VPC.
Variables:
^^^^^^^^^^+-------------------------+---------------------------------------------+
| Name | Description |
+=========================+=============================================+
| localaction=router | Information about VPC Router as fact |
+-------------------------+---------------------------------------------+
| localaction=snat | Configure SNAT on VPC |
+-------------------------+---------------------------------------------+
| enable_snat=true|false | Enable or disable SNAT |
+-------------------------+---------------------------------------------+
| vpc_name | name of VPC |
+-------------------------+---------------------------------------------+
| vpc_id | id of VPC |
+-------------------------+---------------------------------------------+
| waitfor | wait for VPC creation (true or false) |
+-------------------------+---------------------------------------------+Functions:
^^^^^^^^^^Create::
ansible-playbook tenant_yml.yml -e "ecs_name=ansible-test01" -e "localaction=create"
ansible-playbook tenant_ini.yml -e "ecs_name=ansible-test01" -e "localaction=create"
ansible-playbook tenant_json.yml -e "ecs_name=ansible-test01" -e "localaction=create"
note: VPC will create during ECS creating workflow
Show::
./grole otc_vpc; ansible-playbook roles.yml -e "vpc_name=ansible-vpc01" -e "localaction=show"
List::
./grole otc_vpc; ansible-playbook roles.yml -e "localaction=list"
Delete::
./grole otc_vpc; ansible-playbook roles.yml -e "vpc_name=ansible-vpc01" -e "localaction=delete"