---
# task file for the MeteringConfig role

- include_tasks: update_meteringconfig_status.yml
  vars:
    current_conditions:
      type: "Running"
      status: "True"
      message: "Starting the reconciliation process"
      lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"

- include_tasks: reconcile.yml

- include_tasks: update_meteringconfig_status.yml
  vars:
    current_conditions:
      type: "Running"
      status: "False"
      message: "Awaiting the next reconciliation"
      lastTransitionTime: "{{ now(utc=False).isoformat() + 'Z' }}"
