ansible / ansible.builtin / v2.9.4 / module / scaleway_user_data Scaleway user_data management module | "added in version" 2.8 of ansible.builtin" Authors: Remy Leone (@sieben) preview | supported by communityansible.builtin.scaleway_user_data (v2.9.4) — module
pip
Install with pip install ansible==2.9.4
This module manages user_data on compute instances on Scaleway.
It can be used to configure cloud-init for instance
- name: Update the cloud-init scaleway_user_data: server_id: '5a33b4ab-57dd-4eb6-8b0a-d95eb63492ce' region: ams1 user_data: cloud-init: 'final_message: "Hello World!"'
region: choices: - ams1 - EMEA-NL-EVS - par1 - EMEA-FR-PAR1 description: - Scaleway compute zone required: true api_url: aliases: - base_url default: https://api.scaleway.com description: - Scaleway API URL. type: str api_token: aliases: - oauth_token description: - Scaleway OAuth token. required: true type: str server_id: description: - Scaleway Compute instance ID of the server required: true user_data: description: - User defined data. Typically used with `cloud-init`. - Pass your cloud-init script here as a string required: false api_timeout: aliases: - timeout default: 30 description: - HTTP timeout to Scaleway API in seconds. type: int validate_certs: default: true description: - Validate SSL certs of the Scaleway API. type: bool query_parameters: default: {} description: - List of parameters passed to the query string. type: dict