Created
November 28, 2018 22:31
-
-
Save richlv/a92175f0aaae03dd4791ab6663a82f2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Create ES index that's missing" | |
local_action: | |
module: uri | |
url: 'http://{{es_server}}:9200/{{ls_segment}}-{{item.1.file}}-000001' | |
method: PUT | |
status_code: 200 | |
body: | |
aliases: | |
"{{ls_segment}}-{{item.1.file}}_rollover": {} | |
body_format: json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment