-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version is missing from previous step #31
Comments
Hi there! This resource is
Hope that helps. Let me know if you had something else in mind. |
Thank you very much for your answer. So for clarity:
-> fly destroy-pipeline /target ace-test /p deploy-ansible-playbook are you sure? [yN]: y -> fly set-pipeline /target ace-test /pipeline deploy-ansible-playbook /config ./pipeline-ansible.yaml
resource types:
jobs:
pipeline name: deploy-ansible-playbook apply configuration? [yN]: y the pipeline is currently paused. to unpause, either:
|
Do you have a private Docker registry in place, perhaps? If so, are you able to delete the What happens when you How about a Sorry if these suggestions are obvious. I've not encountered this error before. |
Hello, I had to change the pipeline a bit, but the result is the same. FYI - fly CLI is on windows |
Hello, FYI: One more question please: |
I've rebuilt the image and pushed a fresh You could probably install a specific version of Ansible upon every job run, as per this explanation for additional modules: https://github.com/troykinsella/concourse-ansible-playbook-resource?tab=readme-ov-file#custom-setup-commands |
I confirm that this change removed the notified error message.
Dňa pi 1. 3. 2024, 19:51 Troy Kinsella ***@***.***>
napísal(a):
… I've rebuilt the image and pushed a fresh latest tag. Can you please
check if the issue is resolved?
You could probably install a specific version of Ansible upon every job
run, as per this explanation for additional modules:
https://github.com/troykinsella/concourse-ansible-playbook-resource?tab=readme-ov-file#custom-setup-commands
But, the overhead of doing so might be undesirable, and if so, I think
you're looking at extending this image and installing the things that you
require.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGGV2SJE33V3L7SYH2RJAJTYWDEZVAVCNFSM6AAAAABDMJCOBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTG42DKNBZGE>
.
You are receiving this because you authored the thread.Message ID:
<troykinsella/concourse-ansible-playbook-resource/issues/31/1973745491@
github.com>
|
Hello
I have the latest version of concourse deployed on a Kubernetes cluster without persistence.
(K8s Image: concourse/concourse:7.11.2)
I want to deploy the pipeline via your ansible resource type, through this yaml, with fly:
fly set-pipeline /target test /pipeline ansible-playbook2 /config ./pipeline-ansible2.yaml
resource_types:
type: docker-image
source:
repository: troykinsella/concourse-ansible-playbook-resource
resources:
type: ansible
source:
verbose: v
jobs:
plan:
fly deployment + resource type check - will be always successful.
But when I check the resource - I always get this error:
fly check-resource /target test /resource:ansible-playbook2/ansible
checking ansible-playbook2/ansible in build 4381
initializing check: ansible
initializing check: ansible
selected worker: concourse-worker-1
version is missing from previous step
version is missing from previous step
errored
I tried setting all possible combinations for version & tag key in source type and source too - no luck.
In your ansible playbook container, I can see that the container is really trying to output the version information:
ansible-test:/opt/resource# ls -all
total 24
drwxr-xr-x 3 root root 4096 Jan 17 18:42 .
drwxr-xr-x 1 root root 4096 Jan 17 18:42 ..
-rwxr-xr-x 1 root root 20 Jul 3 2023 check
-rwxr-xr-x 1 root root 34 Jul 3 2023 in
drwxrwxr-x 3 root root 4096 Nov 20 19:49 lib
-rwxr-xr-x 1 root root 276 Jul 3 2023 out
ansible-test:/opt/resource# cat in
#!/bin/sh
printf '{"version":{}}'
ansible-test:/opt/resource#
When I try another ansible resource type clone (e.g. - argon/concourse-ansible-playbook-resource) - everything works immediately.
This link also solves something similar - concourse/registry-image-resource#316 - but it didn't help me either.
Pls, where and how should I set it so that the resource type check will be successful?
The text was updated successfully, but these errors were encountered: