[ansible-project] Programatically run Ansible. Generated inventory file not working?

2015-09-08 Thread Kevin White
Hey guys, I'm following this https://serversforhackers.com/running-ansible-programmatically but I've built a RESTful API around it using cherrypy. I generate an inventory file and try to set the "host_list" variable in the ansible.playbook.PlayBook object but it doesn't seem like this is worki

Re: [ansible-project] Name directive in Role

2015-04-24 Thread Kevin White
Thanks Brian! I suspected it was a "feature" of ansible. The only workaround then, would to be to add something in the name of every individual task or go back to a single playbook? On Friday, April 24, 2015 at 12:01:22 PM UTC-5, Brian Coca wrote: > > You added a name to an include and includ

[ansible-project] Name directive in Role

2015-04-24 Thread Kevin White
Hello, I've googled high and low for an answer but keep going down rabbit holes with no obvious solution. This seems like the right place to ask. I'm guessing this behavior is a "feature" of ansible and there's not a work-around? I have the following playbook excerpt: --- - name: Harden Lin