adjustments-from-riemann #23
8 changed files with 34 additions and 11 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
.PHONY: fedora-deps deps fedora-bootstrap gpg keys
|
||||
|
||||
ANSIBLE_PYTHON := /usr/bin/python3
|
||||
AP := ansible-playbook -vv -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
|
||||
AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON)
|
||||
|
||||
fedora-bootstrap:
|
||||
$(AP) playbooks/fedora.yml
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
- name: Get version of Fedora
|
||||
shell: rpm -E %fedora
|
||||
register: fedora_version
|
||||
|
||||
- name: Install RPMFusion RPMs with GPG keys
|
||||
dnf:
|
||||
name:
|
||||
- "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ fedora_version.stdout }}.noarch.rpm"
|
||||
- "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ fedora_version.stdout }}.noarch.rpm"
|
||||
state: present
|
||||
|
||||
- name: Install Google Chrome repository
|
||||
template:
|
||||
src: templates/google-chrome.repo.j2
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: Create directories for configuration
|
||||
shell: mkdir ~/.ghc
|
||||
file:
|
||||
path: ~/.ghc
|
||||
state: directory
|
||||
|
||||
- name: Install ghci.conf
|
||||
template:
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
name: mfocko
|
||||
shell: /bin/zsh
|
||||
|
||||
- name: Install Nord theme for Konsole
|
||||
shell: wget -O ~/.local/share/konsole/nord.colorscheme https://raw.githubusercontent.com/arcticicestudio/nord-konsole/develop/src/nord.colorscheme
|
||||
|
||||
- include: nvim.yml
|
||||
- include: emacs.yml
|
||||
- include: zsh.yml
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- name: Create init.vim
|
||||
block:
|
||||
- shell: mkdir -p ~/.config/nvim
|
||||
- file:
|
||||
path: ~/.config/nvim
|
||||
state: directory
|
||||
- template:
|
||||
src: templates/init.vim.j2
|
||||
dest: ~/.config/nvim/init.vim
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: Create .tmux
|
||||
shell: mkdir -p ~/.tmux
|
||||
file:
|
||||
path: ~/.tmux
|
||||
state: directory
|
||||
|
||||
- name: Clone tpm
|
||||
git:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
name: mfocko
|
||||
generate_ssh_key: yes
|
||||
ssh_key_type: ed25519
|
||||
ssh_key_comment: "$HOSTNAME"
|
||||
ssh_key_comment: "$HOSTNAME-{{ ansible_facts['distribution'] }}"
|
||||
|
||||
- name: Install SSH config
|
||||
template:
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
---
|
||||
- name: Create directories for VSCode
|
||||
block:
|
||||
- shell: mkdir -p ~/.local/bin
|
||||
- shell: mkdir -p ~/.local/share
|
||||
- shell: mkdir -p "$HOME/.config/Code - Insiders/User"
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- ~/.local/bin
|
||||
- ~/.local/share
|
||||
- "$HOME/.config/Code - Insiders/User"
|
||||
|
||||
- name: Install VSCode script
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue