Closed alanorth closed 8 years ago
@alanorth I presume you're also using ansible v2.0 from pip or something of the sort, & not relying on just the porting guide, right? :wink:
Does Luke Skywalker ask Yoda if he knows how to use his lightsaber?
haha! What an analogy. I guess I'm Yoda, you can be Luke :stuck_out_tongue_winking_eye:
In misc_plays, there were a bunch of sudo
directives that I changed to become
.
See 29dec59
Apart from sudo/sudo_user
& bare variables in with_
loops, I don't see any other changes to make.
I guess we've been following Ansible best practices to the letter :+1: If a warning related to 2.0 pops up, we'll just fix it on master, otherwise, this is good to go.
I think you're right, we did some cleanups for good practices at one point last year as well. LGTM.
In #21 @oguya pointed out that there is an Ansible 2.0 porting guide that we should really look at, as some of our playbooks are using old conventions that work now, but will be unsupported by version 2.2.
For example:
sudo_user
but there are still more buried in the playbooks (dspace tomcat stuff)