9 lines
251 B
YAML
9 lines
251 B
YAML
|
---
|
||
|
# TODO: find a better condition for the restart
|
||
|
#
|
||
|
- name: Restart HDFS datanode
|
||
|
service: name=hadoop-hdfs-datanode state=restarted sleep=20
|
||
|
when: ansible_fqdn | match ("node.*\.t\.hadoop\.research\-infrastructures\.eu")
|
||
|
ignore_errors: true
|
||
|
|