
PLAY [Create and start project jails.] *****************************************

TASK [Display vars.] ***********************************************************
ok: [iocage_06] => 
    msg: |-
        project:
          db_5:
            class:
            - db
            - logclient
            vmm: iocage_06
          http_5:
            class:
            - http
            - logclient
            vmm: iocage_06

        project_template: ansible_client
        project_create_iocage_tags: False
        vmm:
          iocage_06:
            db_5:
              class:
              - db
              - logclient
              vmm: iocage_06
            http_5:
              class:
              - http
              - logclient
              vmm: iocage_06

        class:
          db:
          - db_5
          http:
          - http_5
          logclient:
          - http_5
          - db_5

        groups.all: ['test_5', 'iocage_06']
        project_jails_present: []
        project_jails_absent: ['http_5', 'db_5']

TASK [Display iocage_jails_absent] *********************************************
ok: [iocage_06] => 
    iocage_jails_absent:
    - http_5
    - db_5

TASK [Create jails.] ***********************************************************
[ERROR]: Task failed: Module failed: The command exited with a non-zero return code.
Origin: /scratch/collections/ansible_collections/vbotka/freebsd/playbooks/pb_iocage_project_create.yml:47:11

45           ansible.builtin.meta: end_host
46
47         - name: Create jails.
             ^ column 11

fatal: [iocage_06]: FAILED! => 
    ansible_facts:
        discovered_interpreter_python: /usr/local/bin/python3.12
    changed: false
    changed_when_result: false
    cmd:
    - iocage
    - create
    - --short
    - --template
    - ansible_client
    - --count
    - '2'
    - bpf=1
    - dhcp=1
    - vnet=1
    delta: '0:00:01.179358'
    end: '2026-08-27 09:31:24.841012'
    msg: The command exited with a non-zero return code.
    rc: 1
    start: '2026-08-27 09:31:23.661654'
    stderr: |-
        Template: ansible_client not found!
        Created Templates:
          ansible-client
          ansible-init
          ansible-nginx
          ansible-pkg-repo
          ansible-repos
          ansible-syslogng-client
          ansible-syslogng-server
    stderr_lines: <omitted>
    stdout: ''
    stdout_lines: <omitted>

PLAY RECAP *********************************************************************
iocage_06                  : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

