Install SOAP Extension

Would I do that by adding to group_vars/all/main.yml like shown here?

php_extensions_custom:
  php7.2-soap: "{{ apt_package_state }}"

And then would vagrant reload --provision do the trick locally?