chanegd when
This commit is contained in:
parent
782a679f21
commit
4a3c185f20
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,6 @@
|
|||
# bug:delegate to geht nciht
|
||||
# no_log überall bei keys und users
|
||||
# linter
|
||||
# succssfu/changed_when
|
||||
# state absent einbauen
|
||||
|
||||
- name: include policy tasks
|
||||
|
|
|
@ -29,10 +29,12 @@
|
|||
- name: "setup policies (ro)"
|
||||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin policy create {{ minio_root_alias }} {{ item.name }}_ro {{ minio_config_dir }}/{{ item.name }}_ro"
|
||||
loop: "{{ minio_buckets }}"
|
||||
changed_when: false # Befehl gibt immer "Created policy `testbucket3_ro` successfully." aus, unabhängig ob sie schon existiert oder nicht.
|
||||
|
||||
- name: "setup policies (rw)"
|
||||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin policy create {{ minio_root_alias }} {{ item.name }}_rw {{ minio_config_dir }}/{{ item.name }}_rw"
|
||||
loop: "{{ minio_buckets }}"
|
||||
changed_when: false # Befehl gibt immer "Created policy `testbucket3_ro` successfully." aus, unabhängig ob sie schon existiert oder nicht.
|
||||
|
||||
- name: "remove old policy files"
|
||||
ansible.builtin.file:
|
||||
|
@ -42,4 +44,3 @@
|
|||
when: '"absent" in item.state'
|
||||
|
||||
# deletata to localhost
|
||||
# changed when überall
|
||||
|
|
Loading…
Reference in a new issue