1 heat_template_version: pike
4 Mongodb service, disabled by default since pike
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Mapping of service endpoint -> protocol. Typically set
23 via parameter_defaults in the resource registry.
27 description: Role name on which the service is applied
31 description: Parameters specific to the role
36 description: Role data for the disabled MongoDB role.
38 service_name: mongodb_disabled
40 - name: Check for mongodb service
41 stat: path=/usr/lib/systemd/system/mongod.service
43 register: mongod_service
44 - name: Stop and disable mongodb service on upgrade
46 service: name=mongod state=stopped enabled=no
47 when: mongod_service.stat.exists