1 heat_template_version: pike
4 Configures docker on the host
7 DockerInsecureRegistryAddress:
8 description: Optional. The IP Address and Port of an insecure docker
9 namespace that will be configured in /etc/sysconfig/docker.
10 The value can be multiple addresses separated by commas.
11 type: comma_delimited_list
15 description: Mapping of service endpoint -> protocol. Typically set
16 via parameter_defaults in the resource registry.
20 description: Dictionary packing service data
24 description: Mapping of service_name -> network name. Typically set
25 via parameter_defaults in the resource registry. This
26 mapping overrides those in ServiceNetMapDefaults.
33 description: Role name on which the service is applied
37 description: Parameters specific to the role
41 insecure_registry_is_empty: {equals : [{get_param: DockerInsecureRegistryAddress}, []]}
45 description: Role data for the docker service
50 - tripleo::profile::base::docker::configure_network: true
51 tripleo::profile::base::docker::network_options: "--bip=172.31.0.1/24"
54 - insecure_registry_is_empty
56 - tripleo::profile::base::docker::insecure_registries: {get_param: DockerInsecureRegistryAddress}
58 include ::tripleo::profile::base::docker
60 - name: Install docker packages on upgrade if missing
62 yum: name=docker state=latest