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

Exercise 1 feedback #7

Open
praqma-thi opened this issue Aug 18, 2023 · 0 comments
Open

Exercise 1 feedback #7

praqma-thi opened this issue Aug 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@praqma-thi
Copy link
Contributor

praqma-thi commented Aug 18, 2023

Assume cowsay is added to path

/usr/games/cowsay hewwo

    - name: Say something
      shell: |
        cowsay hewwo
      register: out
    - debug: var=out.stdout_lines

Prevents playbook from blowing up: "stderr_lines": ["/bin/sh: 1: usr/games/cowsay: not found"]
Naturally, this applies to following katas as well.

EDIT: I noticed you can run into issues here when playbooks specify become: true -- but maybe we should look into why we're becoming root in all these exercises?

@praqma-thi praqma-thi added the enhancement New feature or request label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant