Joined January 2013
·
Me pixel

Lorin Hochstein

Sr. Software Engineer at Netflix
Sr. Software Engineer
Netflix
·
San Jose, CA
·
·
·

Posted to Defining global variables over 1 year ago

Thanks, @reiz, link has been fixed.

Posted to Ansible: Reboot Ubuntu if needed over 1 year ago

Nice... that is a lot more elegant.

Posted to Ansible: Reboot Ubuntu if needed over 1 year ago

Whoops, you're absolutely right. Added the missing notify.

Posted to Secure mysql with ansible over 1 year ago

@quyennt Thanks, I added your line to the tip..

Posted to Specify a base directory over 1 year ago

@gblahaerath Thanks, I updated the tip accordingly.

Posted to Secure mysql with ansible over 1 year ago

The ansible module looks for .my.cnf in the home directory of the ssh user, specifically, it does this:

mycnf = os.path.expanduser('~/.my.cnf')

Is ansible ssh'ing in as root, or are you sudo'ing?

Yay!

Posted to Generate UUID at shell prompt over 1 year ago

@mdeiters Forgot about the existence of uuidgen, I edited the tip.

Posted to Python PEP8 linting in Sublime Text 2 over 1 year ago

Note that the project moved to https://github.com/SublimeLinter/SublimeLinter.

Posted to Specify a base directory over 1 year ago

If I just change that from PIPE to PIPE_ONCE, will that do the trick?

This is great. What I would really like is "bail if not all of the variables used by this template are set", without having to explicitly enumerate the variables.

The :& syntax isn't currently documented, I just submitted a pull request to document that: https://github.com/ansible/ansible/pull/2033

In the example above, staging can be an individual host or any kind of group, including a top-level group.

Achievements
1,373 Karma
113,154 Total ProTip Views