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

Finish tutorial! #58

Open
arnuschky opened this issue Jun 20, 2014 · 6 comments
Open

Finish tutorial! #58

arnuschky opened this issue Jun 20, 2014 · 6 comments

Comments

@arnuschky
Copy link

Hey there. I really enjoyed this tutorial - great work! A pity that it stops when it becomes really interesting! Could you continue writing it, please? :)

@leucos
Copy link
Owner

leucos commented Jun 21, 2014

Thanks for the kinds words @arnuschky
Indeed, I have to keep up, but time lacks by now. The good part is that I'm doing lot's of ansible these days, so I might come up with ideas when I'll get back to this tutorial.

@eproxus
Copy link

eproxus commented Jun 23, 2014

If some more chapters were specified, with more fine grained outlines, people might be more inclined to help out writing some parts?

@leucos
Copy link
Owner

leucos commented Jun 23, 2014

I like your suggestion @eproxus . I was working on an iptables chapter. However, I think that exploring roles a bit deeper could be more interesting. So I'll probably make the next chapter about tags and another about roles dependencies (replacing apache with nginx + php5-fpm).
If you guys have suggestions on topics, I'd be glad to hear them.
Please comment here.

@eproxus
Copy link

eproxus commented Jun 23, 2014

What I found useful to know about in Ansible:

  • Setting up user accounts and SSH keys (for servers that only come with root accounts)
  • Vault files for sensitive information
  • Overriding variables on the command line
  • How to debug playbooks (using the debug command, -vvvv and tags to limit runs)
  • Local playbooks (using localhost as a target)
    • Setting up hosts on EC2
  • Using an inventory script to access EC2 hosts
  • How to use custom plugins
  • How to use Galaxy roles

Some of this might be covered already.

@leucos
Copy link
Owner

leucos commented Jun 23, 2014

  • Setting up user accounts and SSH keys (for servers that only come with root accounts)

I'd say this one is demonstrated (but not explained) in step-00.

  • Vault files for sensitive information

Ok. #62

  • Overriding variables on the command line

Don't know if this deserves a chapter per-se. May be a Nuts&Bolts chapter ?

  • How to debug playbooks (using the debug command, -vvvv and tags to limit runs)

Much needed ! #63

  • Local playbooks (using localhost as a target)

May be showing delegation would be enough ? #60

  • Setting up hosts on EC2
  • Using an inventory script to access EC2 hosts

This could be the grand finale for the tutorial ?

  • How to use custom plugins

Ok. #61

  • How to use Galaxy roles

I'm not currently using galaxy. Since we're focusing on writing ansible playbook, I'm not sure we need this here ?

@eproxus
Copy link

eproxus commented Jun 23, 2014

Setting up user accounts and SSH keys (for servers that only come with root accounts)

I'd say this one is demonstrated (but not explained) in step-00.

I meant setting up user accounts on the remote machine.

Overriding variables on the command line

Don't know if this deserves a chapter per-se. May be a Nuts&Bolts chapter ?

I have some playbooks that are always parameterized. Maybe we could find such a use case? Like, set up a new virtual host in Nginx: ansible-playbook create_host.yml --env="host=myhost.com"?

Local playbooks (using localhost as a target)

May be showing delegation would be enough ? #60

What is delegation?

This would also be showcased in the EC2 section otherwise. Perhaps that is enough.

Setting up hosts on EC2
Using an inventory script to access EC2 hosts

This could be the grand finale for the tutorial ?

Yeah, or an Appendix A.

How to use Galaxy roles

I'm not currently using galaxy. Since we're focusing on writing ansible playbook, I'm not sure we need this here ?

I would also put this in a "grand finale" section, or Appendix B. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants