Note
The examples include a
batch.shscript that executes the commands and generates the output for each example.Most playbooks executed by
batch.share idempotent. If a playbook is run repeatedly, tasks may report a status ofokinstead of the expectedchanged.All examples include additional files that are not shown in the directory tree. Review these files for more details.
By default, examples that create jails use the iocage host configuration from 440 Configure DHCP and pf. The firewall runs on both the external interface and the
vnetbridge of the iocage host. DHCP for the jails is enabled on the bridge, and SSH access from the local network to the jails is redirected. Examples that do not use this configuration are marked.denyand are excluded frombatch.sh. To run these examples, reconfigure the firewall as described in 370 Configure pf.Playbook filenames in the examples use hyphens (-) (e.g.,
pb-iocage.yml).In accordance with Ansible collection naming conventions, playbook filenames in the collection use underscores (_) (e.g.,
pb_iocage_template.yml).To avoid SSH host key verification failures with dynamic DHCP addresses, set
host_key_checking = Falseinansible.cfg.