--- - name: Format the namenode, if it\'s not already formatted. Runs on the first namenode only become: True become_user: hdfs command: creates={{ hdfs_data_dir }}/{{ hdfs_nn_data_dir }}/current/VERSION hdfs namenode -format -force tags: - hadoop - hdfs