dotfiles/roles/common/tasks/python.yml

17 lines
356 B
YAML

---
- name: python | create config and data directories
file:
path: "{{ item }}"
state: directory
loop:
- ~/.config/python
- ~/.local/share/python # for this history file
- name: python | deploy startup file
file:
src: "{{ role_path }}/files/python-startup.py"
dest: ~/.config/python/startup.py
state: link
force: yes