backup.force_new_cluster.yml 331 B

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