distcloud-client/black_pre_run.yaml

6 lines
144 B
YAML

---
- hosts: controller
tasks:
- name: create modified_files.txt
command: git diff HEAD^ --name-only -- '*.py' > modified_files.txt