Skip to content

ERROR! the playbook: --vault-password-file /xx/xx/xx/vault.yml could not be found #976

@xq1xq1xq1

Description

@xq1xq1xq1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions