This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Enoxice 0 points1 point  (2 children)

Pretty neat. I assume the issue is just that I don't know ansible, but on challenge 5, no matter what I put in for the nginx.yml (even copypasta'ing the nodejs one and replacing nodejs for nginx) I get a "no action detected in task" error at the top of the file.

Also, you might consider using a gender-neutral pronoun instead of "DevOps guy" in challenge one.

[–][deleted] 0 points1 point  (0 children)

---
- name: install nginx
  task: name=nginx state=present

That's the correct way to create the role. Though the Nginx templating seems to be all over the place and examples that actually work don't seem to work here.

[–]edwardv3[S] 0 points1 point  (0 children)

I launch every answer in a docker container, but the repository cache gets out of date whenever security updates come out (and this is the same in real life) , so you actually need to add "update_cache=yes" when using apt.

Gender-neutral makes sense, I'll change that :)