confluentinc / cp-ansible

Ansible playbooks for the Confluent Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

patrisng opened this issue · comments

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.