Files
ansible_scw_container/README.md
2023-10-10 15:27:52 +02:00

52 lines
797 B
Markdown

Role Name
=========
Create or delete 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).