Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. outputs:
  2. role_data:
  3. description: Role data for the Contrail Config service.
  4. value:
  5. service_name: {get_attr: [ContrailBase, role_data, service_name]}
  6. config_settings:
  7. map_merge:
  8. - get_attr: [ContrailBase, role_data, config_settings]
  9. - get_attr: [ContrailBase, config_settings]
  10. service_config_settings: {get_attr: [ContrailBase, role_data, service_config_settings]}
  11. docker_config:
  12. step_5:
  13. contrail_config_api:
  14. image: &contrail_config_api_image {get_param: DockerContrailConfigApiImage}
  15. net: host
  16. privileged: false
  17. detach: false
  18. user: root
  19. volumes:
  20. list_concat:
  21. - {get_attr: [ContainersCommon, volumes]}
  22. -
  23. - /var/log/contrail:/var/log/contrail
  24. environment:
  25. str_replace:
  26. template:
  27. "CONTROLLER_NODES=%{hiera('contrail_config_node_ips')}"
  28. - CONTROLLER_NODES=
  29. host_prep_tasks:
  30. - name: create contrail log directory
  31. file: path=/var/log/contrail state=directory recurse=yes
  32. tags: step2
  33. ignore_errors: True
  34. metadata_settings:
  35. get_attr: [ContrailBase, role_data, metadata_settings]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement