initial version: gimme a list of container name, i will create them in
"formation" project and generate a list you ca feed tco.dns with, to create appropriate dns record
This commit is contained in:
51
README.md
Normal file
51
README.md
Normal file
@@ -0,0 +1,51 @@
|
||||
Role Name
|
||||
=========
|
||||
|
||||
Create container on scaleaway cloud
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
scw_api_secret_key:
|
||||
scw_api_default_project_id:
|
||||
|
||||
container_action; delete or running
|
||||
container_list: list of container
|
||||
scw_gen_hostlist: default true, wether we create a hostlist.yml file containing containers name and ip (to be fed to dns role to create records)
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
```yaml
|
||||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
container_action: running
|
||||
container_list:
|
||||
- test1
|
||||
- test2
|
||||
- test3
|
||||
roles:
|
||||
- tco.scw_container
|
||||
```
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
|
||||
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
|
||||
Reference in New Issue
Block a user