PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'dasdemo' 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 '32779' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '32778' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '32778' 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-dasdemo to ansible hosts] ********************** ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-dasdemo] 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/PTFS-Europe/koha" } TASK [Add git remote https://github.com/PTFS-Europe/koha as dasdemo in docker container] *** fatal: [localhost -> koha-dasdemo]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git remote add dasdemo https://github.com/PTFS-Europe/koha && git fetch --tags -f dasdemo", "delta": "0:00:00.003941", "end": "2025-10-06 10:48:42.652169", "msg": "non-zero return code", "rc": 128, "start": "2025-10-06 10:48:42.648228", "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 dasdemo/24.11.nhs in docker container] ********************** fatal: [localhost -> koha-dasdemo]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git checkout dasdemo/24.11.nhs", "delta": "0:00:00.004251", "end": "2025-10-06 10:48:43.330310", "msg": "non-zero return code", "rc": 128, "start": "2025-10-06 10:48:43.326059", "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-dasdemo] 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-dasdemo] TASK [Install OpenSSH Server] ************************************************** changed: [localhost -> koha-dasdemo] TASK [Enable PermitRootLogin for sshd] ***************************************** changed: [localhost -> koha-dasdemo] TASK [Start sshd] ************************************************************** changed: [localhost -> koha-dasdemo] TASK [Set root password to 'koha'] ********************************************* changed: [localhost -> koha-dasdemo] TASK [Install Postfix MTA] ***************************************************** changed: [localhost -> koha-dasdemo] TASK [Enable smtp-sink for mail] *********************************************** changed: [localhost -> koha-dasdemo] TASK [Enable email processing] ************************************************* changed: [localhost -> koha-dasdemo] TASK [Index the records for the first time] ************************************ changed: [localhost -> koha-dasdemo] TASK [Restart Zebra after indexing records] ************************************ changed: [localhost -> koha-dasdemo] TASK [Restart Plack after indexing records] ************************************ changed: [localhost -> koha-dasdemo] 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