-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
This is similar to https://github.com/ansible-semaphore/semaphore/issues/212
I am running Semaphore Docker on ansiblesemaphore/semaphore:latest under Debian GNU/Linux 11
My Advanced Extra CLI Arguments for the Task are:
[
"--ask-vault-pass",
"--vault-password-file /home/semaphore/data/ec2_vault.yml"
]
I also tried the path on the host with the file not found error:
[
"--ask-vault-pass",
"--vault-password-file /var/lib/docker/volumes/semaphore-data/ec2_vault.yml"
]
inside the docker I have:
/home/semaphore/data # ls -l
-rw-r--r-- 1 root root 743 Jun 25 16:48 ec2_vault.yml
outside the docker on the host I have:
/var/lib/docker/volumes/semaphore-data# ls -al
-rw-r--r-- 1 root root 743 Jun 25 10:48 ec2_vault.yml
When I run the Task with either path to the vault file I get this file not found error:
ansible-playbook 2.10.5
config file = None
ERROR! the playbook: --vault-password-file /home/semaphore/data/ec2_vault.yml could not be found
ERROR! the playbook: --vault-password-file /var/lib/docker/volumes/semaphore-data/ec2_vault.yml could not be found
Any idea what I am missing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels