Re: [ansible-project] Variable precedence and why to over rule ?

2017-12-13 Thread Brian Coca
Just to clarify some things that looked wrong: - include_vars is allowed in plays, as a task - vars_files is only allowed on plays, directly as a keyword - you can pass files to extra vars by using the '@' symbol: -e @filename.yml or -e @filname.json for when you data does not fit on the comman

Re: [ansible-project] Variable precedence and why to over rule ?

2017-12-12 Thread akazia . info
OMG! I complete over saw this. Thanks a lot! Am Dienstag, 12. Dezember 2017 20:57:03 UTC+1 schrieb Kai Stian Olstad: > > On Tuesday, 12 December 2017 20.46.26 CET akazi...@gmail.com > wrote: > > there is a quite simple setup I am sure many of us came across this: > > 1. you have lean, slim an

Re: [ansible-project] Variable precedence and why to over rule ?

2017-12-12 Thread Kai Stian Olstad
On Tuesday, 12 December 2017 20.46.26 CET akazia.i...@gmail.com wrote: > there is a quite simple setup I am sure many of us came across this: > 1. you have lean, slim and dedicate Roles > 2. every role has its own role vars > 3. playbooks include the roles > > Up to this point nothing spezial >

[ansible-project] Variable precedence and why to over rule ?

2017-12-12 Thread akazia . info
Hello, there is a quite simple setup I am sure many of us came across this: 1. you have lean, slim and dedicate Roles 2. every role has its own role vars 3. playbooks include the roles Up to this point nothing spezial Now: lest assume you have an base path for an application, most likely you