You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm not sure what's actually happening here, but ulimit isn't an executable, it's a built-in to your shell:
$ which ulimit||echo"couldn't find it"
couldn't find it
A number of things:
Try changing your command to bash -c "ulimit -Sn".
The environment variables might not be the same as in your shell session during the Goss execution.
degoss could be executing as a user you don't expect.
We'd need to extend the degoss module to add env_vars to be able to set your environment the way you'd expect. I removed environment variables in a previous major release, might have to add them back in for this use case.
I'd try using a become_user on your degoss role if you want a very specific user to execute things:
- name: my playroles:
- role: degoss# ...become: truebecome_user: doctorstevebrule
Ref: goss-org/goss#450
./goss.yml
Encapsulated in degoss:
The text was updated successfully, but these errors were encountered: