dotfiles/roles/python/tasks/main.yml

16 lines
328 B
YAML

---
- name: Create the python config and cache directories
file:
path: "~/.{{ item }}/python"
state: directory
loop:
- cache
- config
- name: Deploy python startup file
file:
src: "{{ role_path }}/files/startup.py"
dest: ~/.config/python/startup.py
state: link
force: yes