Added arch machine setup
This commit is contained in:
parent
a6e047cc64
commit
bc98f18417
5 changed files with 28 additions and 4 deletions
15
arch.yaml
Normal file
15
arch.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- hosts: arch
|
||||
vars:
|
||||
username: mandlm
|
||||
password: $6$hfdjshdfkajdsh$DRgmUOQfm9DnvSv.l.WuQJpextzBpX5BCbSncXTts5dHazvKRxj8qUYAjju2/AGZqKOt8PTLC7w9yRR68ZHCG1
|
||||
dotfiles: "~/.dotfiles"
|
||||
become: yes
|
||||
roles:
|
||||
- user-account
|
||||
- dotfiles
|
||||
- git
|
||||
- tmux
|
||||
- zsh
|
||||
- neovim
|
||||
- tools
|
|
@ -5,3 +5,7 @@ all:
|
|||
ansible_connection: paramiko_ssh
|
||||
ansible_host: localhost
|
||||
ansible_user: root
|
||||
arch:
|
||||
ansible_connection: local
|
||||
ansible_host: localhost
|
||||
ansible_user: root
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
- name: install required packages
|
||||
package:
|
||||
name:
|
||||
- python3
|
||||
- python-pynvim
|
||||
- neovim
|
||||
- ripgrep
|
||||
state: latest
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
---
|
||||
- name: install tools
|
||||
- name: install common tools
|
||||
package:
|
||||
name:
|
||||
- tree
|
||||
state: latest
|
||||
- name: install debian tools
|
||||
package:
|
||||
name:
|
||||
- aptitude
|
||||
- tree
|
||||
state: latest
|
||||
|
||||
when: ansible_facts["os_family"] == "Debian"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
password: $6$hfdjshdfkajdsh$DRgmUOQfm9DnvSv.l.WuQJpextzBpX5BCbSncXTts5dHazvKRxj8qUYAjju2/AGZqKOt8PTLC7w9yRR68ZHCG1
|
||||
dotfiles: "~/.dotfiles"
|
||||
become: yes
|
||||
gather_facts: no
|
||||
roles:
|
||||
- update-packages
|
||||
- user-account
|
||||
|
|
Loading…
Reference in a new issue