mirror of https://github.com/ceph/ceph-ansible.git
lint: name tasks
Tasks must have names. Signed-off-by: Sébastien Han <seb@redhat.com>pull/3285/head
parent
74ef7769fb
commit
7dab5d4ac2
|
@ -1,11 +1,14 @@
|
||||||
---
|
---
|
||||||
- name: setup ntpd
|
- name: setup ntpd
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp no
|
- name: timedatectl set-ntp no
|
||||||
- package:
|
command: timedatectl set-ntp no
|
||||||
|
- name: install ntp
|
||||||
|
package:
|
||||||
name: ntp
|
name: ntp
|
||||||
state: present
|
state: present
|
||||||
- service:
|
- name: start ntp
|
||||||
|
service:
|
||||||
name: ntp
|
name: ntp
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
@ -13,11 +16,14 @@
|
||||||
|
|
||||||
- name: setup chrony
|
- name: setup chrony
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp no
|
- name: timedatectl set-ntp no
|
||||||
- package:
|
command: timedatectl set-ntp no
|
||||||
|
- name: install chrony
|
||||||
|
package:
|
||||||
name: chrony
|
name: chrony
|
||||||
state: present
|
state: present
|
||||||
- service:
|
- name: start chronyd
|
||||||
|
service:
|
||||||
name: chronyd
|
name: chronyd
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
@ -25,5 +31,6 @@
|
||||||
|
|
||||||
- name: setup timesyncd
|
- name: setup timesyncd
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp on
|
- name: timedatectl set-ntp on
|
||||||
|
command: timedatectl set-ntp on
|
||||||
when: ntp_daemon_type == "timesyncd"
|
when: ntp_daemon_type == "timesyncd"
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
---
|
---
|
||||||
- name: setup ntpd
|
- name: setup ntpd
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp no
|
- name: timedatectl set-ntp no
|
||||||
- package:
|
command: timedatectl set-ntp no
|
||||||
|
- name: install ntp
|
||||||
|
package:
|
||||||
name: ntp
|
name: ntp
|
||||||
state: present
|
state: present
|
||||||
- service:
|
- name: start ntp
|
||||||
|
service:
|
||||||
name: ntpd
|
name: ntpd
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
@ -13,11 +16,14 @@
|
||||||
|
|
||||||
- name: setup chrony
|
- name: setup chrony
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp no
|
- name: timedatectl set-ntp no
|
||||||
- package:
|
command: timedatectl set-ntp no
|
||||||
|
- name: install chrony
|
||||||
|
package:
|
||||||
name: chrony
|
name: chrony
|
||||||
state: present
|
state: present
|
||||||
- service:
|
- name: start chrony
|
||||||
|
service:
|
||||||
name: chronyd
|
name: chronyd
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
@ -25,5 +31,6 @@
|
||||||
|
|
||||||
- name: setup timesyncd
|
- name: setup timesyncd
|
||||||
block:
|
block:
|
||||||
- command: timedatectl set-ntp on
|
- name: timedatectl set-ntp on
|
||||||
|
command: timedatectl set-ntp on
|
||||||
when: ntp_daemon_type == "timesyncd"
|
when: ntp_daemon_type == "timesyncd"
|
||||||
|
|
Loading…
Reference in New Issue