980 B
980 B
Role Name
Create or delete container on scaleaway cloud
Requirements
None
Role Variables
scw_api_secret_key: scw_api_default_project_id:
scw_type: DEV1-S container_action; delete or running container_name: container_domain: default formation.opendoor.fr 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) container_image: id of image default alma9 26e4c50e-91d6-41a5-8898-9e40920e819d
Dependencies
None
Example Playbook
---
- hosts: localhost
vars:
container_action: running
container_name: plope
container_image: lezknfe2324
roles:
- tco.scw_container
will create containers plope.formation.opendoor.fr
License
BSD
Author Information
An optional section for the role authors to include contact information, or a website (HTML is not allowed).