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

【v4.x】the command is multi line. it may execute failed. #2497

Open
redscholar opened this issue Feb 14, 2025 · 0 comments
Open

【v4.x】the command is multi line. it may execute failed. #2497

redscholar opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@redscholar
Copy link
Collaborator

What is version of KubeKey has the issue?

4.x

What is your os environment?

all

KubeKey config file

A clear and concise description of what happend.

if defined command in tasks like:

- name: test task
   command: |
     if [ -n "a" ]; then
        echo "failed"
     fi

the " will Trigger script injection issue.

Relevant log output

Additional information

No response

@redscholar redscholar added the bug Something isn't working label Feb 14, 2025
@redscholar redscholar self-assigned this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant