{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/57","repository_url":"https://api.github.com/repos/elastic/ansible-elasticsearch","labels_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/57/comments","events_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/57/events","html_url":"https://github.com/elastic/ansible-elasticsearch/issues/57","id":128015726,"number":57,"title":"How do you add custom scripts/templates?","user":{"login":"strootman","id":1720162,"avatar_url":"https://avatars.githubusercontent.com/u/1720162?v=3","gravatar_id":"","url":"https://api.github.com/users/strootman","html_url":"https://github.com/strootman","followers_url":"https://api.github.com/users/strootman/followers","following_url":"https://api.github.com/users/strootman/following{/other_user}","gists_url":"https://api.github.com/users/strootman/gists{/gist_id}","starred_url":"https://api.github.com/users/strootman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strootman/subscriptions","organizations_url":"https://api.github.com/users/strootman/orgs","repos_url":"https://api.github.com/users/strootman/repos","events_url":"https://api.github.com/users/strootman/events{/privacy}","received_events_url":"https://api.github.com/users/strootman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"gingerwizard","id":12695796,"avatar_url":"https://avatars.githubusercontent.com/u/12695796?v=3","gravatar_id":"","url":"https://api.github.com/users/gingerwizard","html_url":"https://github.com/gingerwizard","followers_url":"https://api.github.com/users/gingerwizard/followers","following_url":"https://api.github.com/users/gingerwizard/following{/other_user}","gists_url":"https://api.github.com/users/gingerwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/gingerwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingerwizard/subscriptions","organizations_url":"https://api.github.com/users/gingerwizard/orgs","repos_url":"https://api.github.com/users/gingerwizard/repos","events_url":"https://api.github.com/users/gingerwizard/events{/privacy}","received_events_url":"https://api.github.com/users/gingerwizard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/milestones/2","html_url":"https://github.com/elastic/ansible-elasticsearch/milestones/0.1.1","labels_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/milestones/2/labels","id":1215840,"number":2,"title":"0.1.1","description":"","creator":{"login":"electrical","id":271677,"avatar_url":"https://avatars.githubusercontent.com/u/271677?v=3","gravatar_id":"","url":"https://api.github.com/users/electrical","html_url":"https://github.com/electrical","followers_url":"https://api.github.com/users/electrical/followers","following_url":"https://api.github.com/users/electrical/following{/other_user}","gists_url":"https://api.github.com/users/electrical/gists{/gist_id}","starred_url":"https://api.github.com/users/electrical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrical/subscriptions","organizations_url":"https://api.github.com/users/electrical/orgs","repos_url":"https://api.github.com/users/electrical/repos","events_url":"https://api.github.com/users/electrical/events{/privacy}","received_events_url":"https://api.github.com/users/electrical/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-07-20T13:51:25Z","updated_at":"2016-03-18T16:43:06Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-01-21T20:45:45Z","updated_at":"2016-03-18T16:58:15Z","closed_at":"2016-03-18T16:43:06Z","body":"The copy commands in the tasks/elasticsearch-scripts.yml and tasks/elasticsearch-templates.yml are pretty clear in their intent. \r\n\r\nSo, is the expectation that I should clone this repo, and add any custom scripts/templates to the appropriate directory in `files/`?\r\n\r\nIs there a way to configure a playbook to reference a different directory to load scripts/templates from?"},"comment":{"url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/comments/198453448","html_url":"https://github.com/elastic/ansible-elasticsearch/issues/57#issuecomment-198453448","issue_url":"https://api.github.com/repos/elastic/ansible-elasticsearch/issues/57","id":198453448,"user":{"login":"gingerwizard","id":12695796,"avatar_url":"https://avatars.githubusercontent.com/u/12695796?v=3","gravatar_id":"","url":"https://api.github.com/users/gingerwizard","html_url":"https://github.com/gingerwizard","followers_url":"https://api.github.com/users/gingerwizard/followers","following_url":"https://api.github.com/users/gingerwizard/following{/other_user}","gists_url":"https://api.github.com/users/gingerwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/gingerwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingerwizard/subscriptions","organizations_url":"https://api.github.com/users/gingerwizard/orgs","repos_url":"https://api.github.com/users/gingerwizard/repos","events_url":"https://api.github.com/users/gingerwizard/events{/privacy}","received_events_url":"https://api.github.com/users/gingerwizard/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T16:58:15Z","updated_at":"2016-03-18T16:58:15Z","body":"Yes the issue is each kitchen test currently provisions a new docker container.  The above just runs multiple containers - we use this pattern ability to create the test matrix in jenkins. I'm not aware of any ability to ask it to reuse a container - happy to be educated though."}}