Remove Ansible directory
This commit is contained in:
parent
3dd367982a
commit
74196601f6
4 changed files with 0 additions and 88 deletions
|
@ -1,11 +0,0 @@
|
|||
|
||||
init: venv deps
|
||||
|
||||
venv: ./env/bin/pip
|
||||
python3 -m venv env
|
||||
|
||||
deps: ./env/bin/ansible-playbook
|
||||
./env/bin/pip install -r requirements.txt
|
||||
|
||||
freeze:
|
||||
./env/bin/pip freeze > requirements.txt
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
repo: https://github.com/erynofwales/dotfiles.git
|
||||
local_repo: ~/.dotfiles
|
||||
dotfiles:
|
||||
- Xdefaults
|
||||
- emacs
|
||||
- emacs.d
|
||||
- env
|
||||
- gdbinit
|
||||
- gitconfig
|
||||
- gitignore
|
||||
- gvimrc
|
||||
- hgrc
|
||||
- indent.pro
|
||||
- muttrc
|
||||
- nethackrc
|
||||
- profile
|
||||
- rc
|
||||
- screenrc
|
||||
nvim_conifg: ~/.config/nvim
|
||||
vim_bundles:
|
||||
Vundle.vim: https://github.com/gmarik/Vundle.vim.git
|
||||
tasks:
|
||||
- name: Pull dotfiles
|
||||
git: repo={{ repo }} dest={{ local_repo }}
|
||||
|
||||
- name: Link dotfiles
|
||||
file: src={{ local_repo }}/{{ item }} dest=~/.{{ item }} state=link
|
||||
with_items: "{{ dotfiles }}"
|
||||
|
||||
- name: Link ~/bin
|
||||
file: src={{ local_repo }}/bin dest=~/bin state=link
|
||||
|
||||
# Don't show last login when I open a terminal
|
||||
- name: Touch .hushlogin
|
||||
file: path=~/.hushlogin state=touch
|
||||
|
||||
# Setup neovim
|
||||
- name: Create ~/.config
|
||||
file: path=~/.config state=directory
|
||||
- name: Symlink vim dir for neovim
|
||||
file: src={{ local_repo }}/vim dest={{ nvim_config }}
|
||||
- name: Symlink vimrc for neovim
|
||||
file: src={{ local_repo }}/vimrc dest={{ nvim_config }}/init.vim
|
||||
|
||||
# Setup vim bundles
|
||||
- name: Get Vim bundles
|
||||
git: repo={{ item[1] }} dest={{ local_repo }}/vim/bundle/{{ item[0] }}
|
||||
with_items: "{{ vim_bundles }}"
|
||||
- name: Install bundles registered in vim
|
||||
command: vim +PluginInstall +qall
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
dotfiles: ~/.dotfiles
|
||||
packages: [mutt, offlineimap, urlview, w3m]
|
||||
tasks:
|
||||
- name: "Install packages: {{ packages|join(', ') }}"
|
||||
homebrew: name={{ packages }} state=present
|
||||
|
||||
- name: Link mutt config files
|
||||
file: src={{ dotfiles }}/{{ item }} dest=~/.{{ item }} state=link
|
||||
with_items: [muttrc, mutt]
|
|
@ -1,12 +0,0 @@
|
|||
ansible==8.7.0
|
||||
ansible-core==2.15.12
|
||||
cffi==1.17.0
|
||||
cryptography==43.0.0
|
||||
importlib-resources==5.0.7
|
||||
Jinja2==3.1.4
|
||||
MarkupSafe==2.1.5
|
||||
packaging==24.1
|
||||
passlib==1.7.4
|
||||
pycparser==2.22
|
||||
PyYAML==6.0.2
|
||||
resolvelib==1.0.1
|
Loading…
Add table
Add a link
Reference in a new issue