File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
website/content/en/docs/dev/Internals Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,12 @@ containerd:
227227# #!/bin/bash
228228# dnf config-manager --add-repo ...
229229# dnf install ...
230+ # # `ansible` is executed after other scripts are complete
231+ # # It requires `ansible-playbook` command to be installed.
232+ # # Environment variables such as ANSIBLE_CONFIG can be used, to control the behavior of the playbook execution.
233+ # # See ansible docs, and `ansible-config`, for more info https://docs.ansible.com/ansible/latest/playbook_guide/
234+ # - mode: ansible
235+ # playbook: playbook.yaml
230236
231237# Probe scripts to check readiness.
232238# 🟢 Builtin default: null
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ Metadata:
3737cloud-init:
3838- ` cidata.iso ` : cloud-init ISO9660 image. See [ ` cidata.iso ` ] ( #cidataiso ) .
3939
40+ Ansible:
41+ - ` inventory.yaml ` : the Ansible node inventory. See [ ansible] ( #ansible ) .
42+
4043disk:
4144- ` basedisk ` : the base image
4245- ` diffdisk ` : the diff image (QCOW2)
@@ -137,6 +140,10 @@ The directory contains the following files:
137140- ` $QEMU_SYSTEM_ARM ` : path of ` qemu-system-arm `
138141 - Default: ` qemu-system-arm ` in ` $PATH `
139142
143+ ## Ansible
144+ The instance directory contains an inventory file, that might be used with Ansible playbooks and commands.
145+ See [ Building Ansible inventories] ( https://docs.ansible.com/ansible/latest/inventory_guide/ ) about dynamic inventories.
146+
140147## ` cidata.iso `
141148` cidata.iso ` contains the following files:
142149
You can’t perform that action at this time.
0 commit comments