Fix various first run issues

This commit is contained in:
Kenneth Benzie 2023-04-14 16:49:56 +01:00
parent 23f0fd7f23
commit dbd8af4648
4 changed files with 20 additions and 3 deletions

View File

@ -4,6 +4,11 @@
register: zsh_completion_script register: zsh_completion_script
changed_when: false changed_when: false
- name: create local zsh site functions directory
file:
state: directory
path: ~/.local/share/zsh/site-functions
- name: create op zsh completion file - name: create op zsh completion file
copy: copy:
content: '{{zsh_completion_script.stdout}}' content: '{{zsh_completion_script.stdout}}'

View File

@ -0,0 +1,2 @@
---
- include_tasks: Ubuntu.yaml

View File

@ -6,9 +6,18 @@
# TODO: set repo email # TODO: set repo email
# Ensure that pip.conf exists before ever installing pip packages since Debian - name: create config directories
# has not enabled `EXTERNALLY-MANAGED` from PEP 668 which breaks `pip install file:
# --user` unless configured otherwise. state: directory
path: '{{item}}'
with_items:
- ~/.config
- ~/.config/ipython/profile_default
- ~/.config/pip
# Ensure that pip.conf exists before ever installing pip packages since
# Debian has enabled `EXTERNALLY-MANAGED` from PEP 668 which breaks `pip
# install --user` unless configured otherwise.
- name: create symbolic links - name: create symbolic links
file: file:
state: link state: link

View File

@ -5,6 +5,7 @@ python_pip_packages:
- ipdb - ipdb
- ipython - ipython
- isort - isort
- jmespath
- pylint - pylint
- python-gist - python-gist
- yapf - yapf