Skip to content
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

got probe when I run the command "ansible-playbook -i hosts.yml confluent.platform.all" #1427

Open
patrisng opened this issue Jun 29, 2023 · 0 comments

Comments

@patrisng
Copy link

For Confluent Enterprise Support customers, we would strongly advise you to open a Support ticket which will be addressed within your Support contract SLA at https://support.confluent.io

Describe the issue
When I ran the command "ansible-galaxy collection install git+https://github.com/confluentinc/cp-ansible.git", I got a error msg as below

ansible-galaxy collection install git+https://github.com/confluentinc/cp-ansible.git
Process install dependency map
ERROR! Invalid collection name 'git+https', name must be in the format .. Please make sure namespace and collection name contains characters from [a-zA-Z0-9_] only.

If i only use "https://github.com/confluentinc/cp-ansible.git", I got: ERROR! Collection artifact at '/root/.ansible/tmp/ansible-local-2769zjh1df7g/tmpdoh5uhch/cp-ansible5yjnh9za.git' is not a valid tar file.

So that, I cloned by the cmd " git clone https://github.com/confluentinc/cp-ansible". After that, I run "ansible-playbook -i hosts.yml confluent.platform.all", the problem is "ERROR! the playbook: confluent.platform.all could not be found"

To Reproduce
image

image

image

Steps to reproduce the behaviour:

Expected behaviour
A clear and concise description of what you expected to happen.

Inventory File
Please provide your inventory file in order to aid in the investigation.

Logs
Please provide the output of the -vvv switch from Ansible with the failed log snippet. Please also provide the logs of the specific component which has failed. If multiple attempts to run have been made, please provide the start and stop time of the component if known.

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • CP-Ansible Branch: [7.4.0-post]
  • Ansible Version 2.9.6

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant