kolla-ansible/ansible/roles/chrony/defaults/main.yml
Jeffrey Zhang 093d2828fc Add chrony ansible role
Change-Id: I49503275a8b3700185ee0395d9beee7397f5fccf
Implements: blueprint add-chrony-service
2017-01-22 22:15:21 +08:00

23 lines
652 B
YAML

---
project_name: "chrony"
chrony_services:
chrony:
container_name: "chrony"
group: "chrony"
image: "{{ chrony_image_full }}"
enabled: True
privileged: True
volumes:
- "{{ node_config_directory }}/chrony/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla"
####################
# Docker
####################
chrony_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-chrony"
chrony_tag: "{{ openstack_release }}"
chrony_image_full: "{{ chrony_image }}:{{ chrony_tag }}"