Hello List
I want to do the following tasks using ansible in elastic search cluster
1. create/verify s3 bucket by the name es_backup
2. create folder in s3 bucket by the name var {{ elasticsearch_cluster_id
}} - s3 module - Can we create folders using s3 module?
3. create repository using that s3 bucket and base_path (folder inside s3
bucket) option - uri module - how to implement the parameters ?
curl -XPOST localhost:9200/_snapshot/my_s3_repository -d '
{
"type": "s3",
"settings" : {
"bucket": "es-backup",
"base_path": "logstash_cluster",
"compress": "true",
"access_key": "<removed>",
"secret_key": "<removed>"
}
}'
Any hints/examples to help with the above steps is very welcome.
Thanks,
skm
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d11dff8f-662a-47a2-b364-4bcf13054930%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.