Re: [ansible-project] Playbook Failys atc copying ssh keys

2017-07-09 Thread Anfield
Yes. Definitely. I even remove the variables in that part, and just put in /home/dave/.ssh/id_rsa.pub Generated the same errors. > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails

Re: [ansible-project] Add role dependency to another role without it being executed automatically

2017-07-09 Thread Lee Connell
Right, that's what I was originally doing and works just fine. My thought process whas to add it as a dependency so it would get installed via the galaxy command automatically. Without the role added as a dependency, it will need to be a manual process. Thanks! On Jul 9, 2017 12:09 PM, "Maciej

Re: [ansible-project] Add role dependency to another role without it being executed automatically

2017-07-09 Thread Maciej Delmanowski
Just add it in the playbook. Ansible reads all roles on the playbook level and includes their variables, the same as a role dependency in `meta/main.yml`. That way you can run the specific roles using tags without executing the dependencies as well. On Sun, Jul 9, 2017 at 6:06 PM, Lee Connell

Re: [ansible-project] Add role dependency to another role without it being executed automatically

2017-07-09 Thread Lee Connell
I agree, I'm going to move them into the roles, especially since the slack role doesn't really accomplish much. With that being said, say the dependent role was a bunch of API calls to accomplish some task. In this case, I could call include role and call for a particular task within that role.