mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-29 02:44:12 +10:00
Upgrade devture/ansible (14.0.0-r0-0 -> 14.0.0-r0-1)
The new image restores the ability of SSH to ask about unknown host keys and to prompt for the passphrase of an SSH key, which Ansible 2.21 broke by having forked workers run session-isolated. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
FROM ghcr.io/devture/ansible:14.0.0-r0-0
|
||||
FROM ghcr.io/devture/ansible:14.0.0-r0-1
|
||||
|
||||
# Install additional packages
|
||||
RUN apk add --no-cache \
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@ docker run \
|
||||
-w /work \
|
||||
--mount type=bind,src=`pwd`,dst=/work \
|
||||
--entrypoint=/bin/sh \
|
||||
ghcr.io/devture/ansible:14.0.0-r0-0
|
||||
ghcr.io/devture/ansible:14.0.0-r0-1
|
||||
```
|
||||
|
||||
Once you execute the above command, you'll be dropped into a `/work` directory inside a Docker container. The `/work` directory contains the playbook's code.
|
||||
@@ -97,7 +97,7 @@ docker run \
|
||||
--mount type=bind,src=`pwd`,dst=/work \
|
||||
--mount type=bind,src=$HOME/.ssh/id_ed25519,dst=/root/.ssh/id_ed25519,ro \
|
||||
--entrypoint=/bin/sh \
|
||||
ghcr.io/devture/ansible:14.0.0-r0-0
|
||||
ghcr.io/devture/ansible:14.0.0-r0-1
|
||||
```
|
||||
|
||||
The above command tries to mount an SSH key (`$HOME/.ssh/id_ed25519`) into the container (at `/root/.ssh/id_ed25519`). If your SSH key is at a different path (not in `$HOME/.ssh/id_ed25519`), adjust that part.
|
||||
|
||||
Reference in New Issue
Block a user