I have a playbook. It’s got includes, and tags, and it works. But when I introduce a when it fails. And I’m too slow this long Friday to get what’s wrong.
https://gist.github.com/bdunbar/82f55ed4f1de76cd3d6e
Perhaps I’m going about this the wrong way.
I have an existing role (call it ‘sftp’) that - with tags - configures the host, and maintains the user accounts.
What I want is to have a playbook that, using the same variables in the role, simply creates ‘a’ user.
See the gist - I’m probably going about this in the dumbest way possible but don’t see how to make it smarter.
~brian