Add python role

This commit is contained in:
Fernando Schauenburg 2019-11-15 19:49:23 +00:00
parent ffef99af11
commit b2404d7266
3 changed files with 17 additions and 1 deletions

View file

@ -11,7 +11,7 @@
#- git #- git
#- hushlogin #- hushlogin
- mintty - mintty
#- python - python
- readline - readline
#- ssh #- ssh
#- tmux #- tmux

View file

@ -0,0 +1,16 @@
---
- 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