"formation" project and generate a list you ca feed tco.dns with, to create appropriate dns record
52 lines
787 B
Markdown
52 lines
787 B
Markdown
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).
|