Tag all the various ntp tasks so we can run over all of them at once.
This commit is contained in:
parent
f893490bd2
commit
2cf056f01b
3 changed files with 11 additions and 0 deletions
|
@ -208,11 +208,13 @@
|
||||||
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
||||||
tags:
|
tags:
|
||||||
- koji_builder
|
- koji_builder
|
||||||
|
- ntp
|
||||||
|
|
||||||
- name: ntp.conf
|
- name: ntp.conf
|
||||||
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
|
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
|
||||||
tags:
|
tags:
|
||||||
- koji_builder
|
- koji_builder
|
||||||
|
- ntp
|
||||||
|
|
||||||
#
|
#
|
||||||
# We want more loop devices on builders to allow more image creates
|
# We want more loop devices on builders to allow more image creates
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
- name: put step-tickers in place
|
- name: put step-tickers in place
|
||||||
action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
action: copy src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
||||||
when: ansible_cmdline.ostree is not defined
|
when: ansible_cmdline.ostree is not defined
|
||||||
|
tags:
|
||||||
|
- ntp
|
||||||
|
- config
|
||||||
|
|
||||||
- name: enable the service
|
- name: enable the service
|
||||||
action: service name=ntpd state=running enabled=true
|
action: service name=ntpd state=running enabled=true
|
||||||
|
|
|
@ -56,9 +56,15 @@
|
||||||
|
|
||||||
- name: ntp steptickers
|
- name: ntp steptickers
|
||||||
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
copy: src="{{ files }}/common/step-tickers" dest=/etc/ntp/step-tickers
|
||||||
|
tags:
|
||||||
|
- ntp
|
||||||
|
|
||||||
- name: ntp.conf
|
- name: ntp.conf
|
||||||
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
|
copy: src="{{ roles }}/base/files/ntp/ntp.conf" dest=/etc/ntp.conf
|
||||||
|
tags:
|
||||||
|
- ntp
|
||||||
|
|
||||||
- name: enable ntpd
|
- name: enable ntpd
|
||||||
service: name=ntpd enabled=true state=started
|
service: name=ntpd enabled=true state=started
|
||||||
|
tags:
|
||||||
|
- ntp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue