You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image and cloud environment supporting cloud-init.
7
+
8
+
# Role Variables
9
+
10
+
-`cloud_init_output_path`: Required. Path to output userdata files to.
11
+
-`cloud_init_userdata_templates`: Optional list. Each element is a dict with keys/values as follows:
12
+
-`module`: Required str. Name of cloud_init [module](https://cloudinit.readthedocs.io/en/latest/topics/modules.html)
13
+
-`group`: Optional str. Name of inventory group to which this config applies - if no group is specified then it applies to all groups. This allows defining `cloud_init_userdata_templates` for group `all`.
14
+
-`template`: Jinja template for cloud_init module [configuration](https://cloudinit.readthedocs.io/en/latest/topics/modules.html).
15
+
16
+
Elements may repeat `module`; the resulting userdata cloud-config file will will contain configuration from all applicable (by group) elements for that module.
17
+
18
+
Note that the appliance [constructs](../../../environments/common/inventory/group_vars/all/cloud_init.yml)`cloud_init_userdata_templates` from `cloud_init_userdata_templates_default` and `cloud_init_userdata_templates_extra` to
19
+
allow easier customisation in specific environments.
0 commit comments