1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
Nabheet Sandhu f5b4dcc564
Enable counter_enabled.py to support batch mode (#3709)
* Enable counter_enabled.py to support serial mode

Enable counter_enabled.py to support batch playbook executions using the serial tag in plays. Currently, the host counter gets reset at the beginning of every task. However, during batch executions we want it to keep track of the previous batch executions and print the host counter based on the previous runs. This proposal keeps track of how many servers have been updated in previous batches and starts the host counter at that tracked value.

```
- hosts: allthethings
  gather_facts: no
  serial:
    - 3
    - 15%
    - 20%
    - 35%
    - 55%
    - 90%
    - 100%
  tasks:
    - name: Ping Hello!
      ping:
        data: "Hello!!!!"
```

* Reset task counter on play start

Reset task counter on play start for batch mode playbook executions.

* Add changelog fragment

* change changelog fragment after feedback

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-11-15 21:39:51 +01:00
..
.keep
3625-nmcli_false_changed_mtu_fix.yml Fix dummy interface returning changed (#3625) 2021-11-10 07:04:24 +01:00
3632-add-redfish-host-interface-config-support.yml redfish_config: Add support to configure Redfish Host Interface (#3632) 2021-11-13 13:59:29 +01:00
3660-a_module-tombstone.yml a_module test: fix crash in case of tombstoning (#3660) 2021-11-04 08:29:17 +01:00
3667-ldap_search.yml Allow LDAP search to run in check mode (#3667) 2021-11-13 15:00:05 +01:00
3675-xattr-handle-base64-values.yml Better handling of base64-encoded values in xattr module (#3675) 2021-11-09 06:08:15 +01:00
3681-lvol-fix-create.yml Rework safety check on size arguments for when LV doesn't exist (#3681) 2021-11-13 14:00:32 +01:00
3709-support-batch-mode.yml Enable counter_enabled.py to support batch mode (#3709) 2021-11-15 21:39:51 +01:00