PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'illdemo' as instance name" } TASK [Check if git dir already exists] ***************************************** ok: [localhost] TASK [Force get new tags and branches] ***************************************** changed: [localhost] TASK [Clone koha source to /usr/local/src/koha] ******************************** skipping: [localhost] TASK [Copy source koha clone for sandbox] ************************************** changed: [localhost] TASK [Change owner for koha clone for sandbox] ********************************* changed: [localhost] TASK [Create a new database for Koha instance] ********************************* changed: [localhost] TASK [Ensure user doesn't exist or the create below will fail] ***************** changed: [localhost] TASK [mysql_user] ************************************************************** changed: [localhost] TASK [Install koha git config for sandbox] ************************************* changed: [localhost] TASK [Start new koha-testing-docker container] ********************************* changed: [localhost] TASK [Get host port for sandbox staff port] ************************************ changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '32773' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '32772' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '32772' as ssh port" } TASK [Install apache config for sandbox instance] ****************************** changed: [localhost] TASK [Symlink the new apache config from sites-available to sites-enabled] ***** changed: [localhost] TASK [Add docker container koha-illdemo to ansible hosts] ********************** ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-illdemo] TASK [debug] ******************************************************************* skipping: [localhost] TASK [Pausing for 5 minutes whilst container sets itself up] ******************* Pausing for 300 seconds (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort) ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "GIT_REMOTE is set to https://github.com/openfifth/koha" } TASK [Add git remote https://github.com/openfifth/koha as illdemo in docker container] *** fatal: [localhost -> koha-illdemo]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git remote add illdemo https://github.com/openfifth/koha && git fetch --tags -f illdemo", "delta": "0:00:00.004244", "end": "2025-10-06 10:34:35.637752", "msg": "non-zero return code", "rc": 128, "start": "2025-10-06 10:34:35.633508", "stderr": "fatal: detected dubious ownership in repository at '/kohadevbox/koha'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /kohadevbox/koha", "stderr_lines": ["fatal: detected dubious ownership in repository at '/kohadevbox/koha'", "To add an exception for this directory, call:", "", "\tgit config --global --add safe.directory /kohadevbox/koha"], "stdout": "", "stdout_lines": []} ...ignoring TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout illdemo/24.11.nhs in docker container] ********************** fatal: [localhost -> koha-illdemo]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git checkout illdemo/24.11.nhs", "delta": "0:00:00.004119", "end": "2025-10-06 10:34:36.239888", "msg": "non-zero return code", "rc": 128, "start": "2025-10-06 10:34:36.235769", "stderr": "fatal: detected dubious ownership in repository at '/kohadevbox/koha'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /kohadevbox/koha", "stderr_lines": ["fatal: detected dubious ownership in repository at '/kohadevbox/koha'", "To add an exception for this directory, call:", "", "\tgit config --global --add safe.directory /kohadevbox/koha"], "stdout": "", "stdout_lines": []} ...ignoring TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-illdemo] TASK [Checkout origin/main in docker container] ******************************** skipping: [localhost] TASK [Apply bug via git-bz in docker container] ******************************* skipping: [localhost] TASK [Generating CSS and JS using yarn build] ********************************** skipping: [localhost] TASK [Apt Update & Upgrade] **************************************************** ok: [localhost -> koha-illdemo] TASK [Install OpenSSH Server] ************************************************** changed: [localhost -> koha-illdemo] TASK [Enable PermitRootLogin for sshd] ***************************************** changed: [localhost -> koha-illdemo] TASK [Start sshd] ************************************************************** changed: [localhost -> koha-illdemo] TASK [Set root password to 'koha'] ********************************************* changed: [localhost -> koha-illdemo] TASK [Install Postfix MTA] ***************************************************** changed: [localhost -> koha-illdemo] TASK [Enable smtp-sink for mail] *********************************************** changed: [localhost -> koha-illdemo] TASK [Enable email processing] ************************************************* changed: [localhost -> koha-illdemo] TASK [Index the records for the first time] ************************************ changed: [localhost -> koha-illdemo] TASK [Restart Zebra after indexing records] ************************************ changed: [localhost -> koha-illdemo] TASK [Restart Plack after indexing records] ************************************ changed: [localhost -> koha-illdemo] TASK [Restart apache, one last time] ******************************************* changed: [localhost] TASK [Clean up docker files] *************************************************** changed: [localhost] RUNNING HANDLER [Restart apache] *********************************************** changed: [localhost] RUNNING HANDLER [Update koha git repo for sandbox] ***************************** changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=41 changed=31 unreachable=0 failed=0 skipped=6 rescued=0 ignored=2