Open asciifaceman opened 5 years ago
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:
bash -c "ulimit -Sn"
.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 play
roles:
- role: degoss
# ...
become: true
become_user: doctorstevebrule
Ref: https://github.com/aelsabbahy/goss/issues/450
./goss.yml
Encapsulated in degoss: