Added arch machine setup

This commit is contained in:
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_connection: paramiko_ssh
ansible_host: localhost ansible_host: localhost
ansible_user: root ansible_user: root
arch:
ansible_connection: local
ansible_host: localhost
ansible_user: root

View file

@ -2,6 +2,8 @@
- name: install required packages - name: install required packages
package: package:
name: name:
- python3
- python-pynvim
- neovim - neovim
- ripgrep - ripgrep
state: latest 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: package:
name: name:
- aptitude - aptitude
- tree
state: latest state: latest
when: ansible_facts["os_family"] == "Debian"

View file

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