Tag all the various ntp tasks so we can run over all of them at once.

This commit is contained in:
Kevin Fenzi 2015-09-07 15:53:13 +00:00
parent f893490bd2
commit 2cf056f01b
3 changed files with 11 additions and 0 deletions

View file

@ -208,11 +208,13 @@
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
tags:
- koji_builder
- ntp
- name: ntp.conf
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
tags:
- koji_builder
- ntp
#
# We want more loop devices on builders to allow more image creates

View file

@ -20,6 +20,9 @@
- name: put step-tickers in place
action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
when: ansible_cmdline.ostree is not defined
tags:
- ntp
- config
- name: enable the service
action: service name=ntpd state=running enabled=true

View file

@ -56,9 +56,15 @@
- name: ntp steptickers
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
tags:
- ntp
- name: ntp.conf
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
tags:
- ntp
- name: enable ntpd
service: name=ntpd enabled=true state=started
tags:
- ntp