2.3. Executing the build and creating commands
Prerequisites
- You have created a definition file
Procedure
To build an automation execution environment image, run:
ansible-builder build
$ ansible-builder build
By default, Ansible Builder will look for a definition file named execution-environment.yml
but a different file path can be specified as an argument via the -f
flag:
ansible-builder build -f definition-file-name.yml
$ ansible-builder build -f definition-file-name.yml
where definition-file-name specifies the name of your definition file.