mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 13:53:12 +00:00
087f58b7c8
Signed-off-by: likewu <likewu@126.com> Co-authored-by: loverustfs <hello@rustfs.com>
15 lines
392 B
YAML
15 lines
392 B
YAML
---
|
|
- hosts: webservers
|
|
remote_user: leafcolor
|
|
vars:
|
|
ansible_ssh_pass: "123456"
|
|
tasks:
|
|
- name: Configure S3 bucket lifecycle
|
|
community.aws.s3_lifecycle:
|
|
endpoint_url: "http://www.example.com:9000"
|
|
access_key: "rustfsadmin"
|
|
secret_key: "rustfsadmin"
|
|
name: "mblock"
|
|
rule_id: "rule1"
|
|
state: present
|
|
expiration_days: "1" |