-
Notifications
You must be signed in to change notification settings - Fork 198
Conversation
Okay, I merged the other PR and we can now test arch in travis. However the build is failing: https://travis-ci.org/github/dev-sec/ansible-ssh-hardening/jobs/696618801 |
The travis logs are not saying much for mee at this point. |
You're right. The play fails here: https://travis-ci.org/github/dev-sec/ansible-ssh-hardening/jobs/696618801#L565 The test-plays are these: https://github.com/dev-sec/ansible-ssh-hardening/blob/master/tests/default_custom.yml and https://github.com/dev-sec/ansible-ssh-hardening/blob/master/tests/default.yml |
Any idea what this might be about?
|
I just tried to reproduce it. You can do that like this:
This basically runs the commands travis does. I guess the reason for this error are missing privileges and mounts. I added a suggestion to the code to fix it. |
Okay got the playbook working. Now just the inspec executions fail. |
@djesionek the tests pass now! Now all you need to do is sign-off your commits (see https://github.com/dev-sec/ansible-ssh-hardening/pull/291/checks?check_run_id=761595074) and we can merge this! |
Signed-off-by: Damian Jesionek <damian@jesionek.dev>
Signed-off-by: Damian Jesionek <damian@jesionek.dev>
Signed-off-by: Damian Jesionek <damian@jesionek.dev>
Signed-off-by: Damian Jesionek <damian@jesionek.dev>
Signed-off-by: Damian Jesionek <damian@jesionek.dev>
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com> Signed-off-by: Damian Jesionek <damian@jesionek.dev>
@rndmh3ro not sure what changed but I won't complain, signed off! |
Sorry, I forgot to tell you: @mesaguy added Arch support to the inspec tests here: dev-sec/ssh-baseline#173 |
This is my take on the changes from #223 as I could not modify that PR.
The tests depend on this PR I also made for the docker test: dev-sec/docker-ansible#7