Skip to content

Commit

Permalink
Merge pull request elastic#359 from welchwilmerck/master
Browse files Browse the repository at this point in the history
Issue 294 - lookup runs on control machine
  • Loading branch information
Dale McDiarmid committed Aug 17, 2017
2 parents f6347c7 + 0fa01cf commit a46961d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -302,10 +302,10 @@ es_roles:
- create_index
```
* ```es_xpack_license``` - X-Pack license. The license should be declared as a json blob. Alternative use Ansible vault or copy the license to the target machine as part of a playbook and access via a lookup e.g.
* ```es_xpack_license``` - X-Pack license. The license is a json blob. Set the variable directly (possibly protected by Ansible vault) or from a file in the Ansible project on the control machine via a lookup:

```
es_xpack_license: "{{ lookup('file', '/tmp/license.json') }}"
es_xpack_license: "{{ lookup('file', playbook_dir + '/files/' + es_cluster_name + '/license.json') }}"
```

X-Pack configuration parameters can be added to the elasticsearch.yml file using the normal `es_config` parameter.
Expand Down

0 comments on commit a46961d

Please sign in to comment.