Tôi có một playbook khả thi 1.1, nơi tôi làm một cái gì đó như thế này:
- name: copy files
  sudo: True                                                                                                             
  shell: cp /from/* /to/
- name: change owner
  sudo: True
  file: path=$item owner=newuser group=newgroup
  with_fileglob: /to/*
Nhiệm vụ thứ hai, "chủ sở hữu thay đổi" luôn bỏ qua. bất cứ ai có thể giúp tôi tìm hiểu tại sao? là mô-đun tập tin bỏ qua vì các tập tin tồn tại? Tôi bị kẹt :)