backup.force_new_cluster.yml 339 B

123456789101112
  1. ---
  2. - include_tasks: backup/vars.yml
  3. - name: Move content of etcd backup under the etcd data directory
  4. command: >
  5. mv "{{ l_etcd_backup_dir }}/member" "{{ etcd_data_dir }}"
  6. - name: Set etcd group for the etcd data directory
  7. command: >
  8. chown -R etcd:etcd "{{ etcd_data_dir }}"
  9. - include_tasks: auxiliary/force_new_cluster.yml