The Announcements module is now added to the Standard profile and will be enabled by default in existing Drupal 7 installations. On existing sites the module is installed via update hook triggered by running update.php or via drush updb.
Sites that do not want this module to be automatically enabled need to set a new configuration variable in settings.php before running the update.
To disable automatic installation of the module, add this code to settings.php:
$conf['announcements_feed_enable_by_default_opt_out'] = TRUE;
Alternatively the variable can be set using drush:
drush vset announcements_feed_enable_by_default_opt_out TRUE
In the scenario where D7 is being installed without a settings.php (i.e. it will be created by install.php) the opt-out variable can be added to default.settings.php beforehand.
After the update or installation has run, the opt-out variable can be removed.
The module can be also uninstalled afterwards in the traditional way using the Modules page or via drush.
You can read more about the module here: https://www.drupal.org/node/3362227
Enabling the module by default was discussed here: https://www.drupal.org/node/3379442