Added arch machine setup

master
changeme 2020-06-21 19:58:45 +02:00
parent a6e047cc64
commit bc98f18417
5 changed files with 28 additions and 4 deletions

15
arch.yaml Normal file
View 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

View File

@ -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

View File

@ -2,6 +2,8 @@
- name: install required packages
package:
name:
- python3
- python-pynvim
- neovim
- ripgrep
state: latest

View File

@ -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"

View File

@ -5,7 +5,6 @@
password: $6$hfdjshdfkajdsh$DRgmUOQfm9DnvSv.l.WuQJpextzBpX5BCbSncXTts5dHazvKRxj8qUYAjju2/AGZqKOt8PTLC7w9yRR68ZHCG1
dotfiles: "~/.dotfiles"
become: yes
gather_facts: no
roles:
- update-packages
- user-account