Merge pull request 'adjustments-from-riemann' (#23) from adjustments-from-riemann into main
Reviewed-on: #23
This commit is contained in:
commit
ec504f50cf
8 changed files with 34 additions and 11 deletions
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
.PHONY: fedora-deps deps fedora-bootstrap gpg keys
|
.PHONY: fedora-deps deps fedora-bootstrap gpg keys
|
||||||
|
|
||||||
ANSIBLE_PYTHON := /usr/bin/python3
|
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:
|
fedora-bootstrap:
|
||||||
$(AP) playbooks/fedora.yml
|
$(AP) playbooks/fedora.yml
|
||||||
|
@ -16,4 +16,4 @@ gpg:
|
||||||
bash scripts/generate_gpg.sh
|
bash scripts/generate_gpg.sh
|
||||||
|
|
||||||
keys:
|
keys:
|
||||||
bash scripts/export_keys.sh
|
bash scripts/export_keys.sh
|
||||||
|
|
|
@ -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
|
- name: Install Google Chrome repository
|
||||||
template:
|
template:
|
||||||
src: templates/google-chrome.repo.j2
|
src: templates/google-chrome.repo.j2
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: Create directories for configuration
|
- name: Create directories for configuration
|
||||||
shell: mkdir ~/.ghc
|
file:
|
||||||
|
path: ~/.ghc
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Install ghci.conf
|
- name: Install ghci.conf
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
name: mfocko
|
name: mfocko
|
||||||
shell: /bin/zsh
|
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: nvim.yml
|
||||||
- include: emacs.yml
|
- include: emacs.yml
|
||||||
- include: zsh.yml
|
- include: zsh.yml
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: Create init.vim
|
- name: Create init.vim
|
||||||
block:
|
block:
|
||||||
- shell: mkdir -p ~/.config/nvim
|
- file:
|
||||||
|
path: ~/.config/nvim
|
||||||
|
state: directory
|
||||||
- template:
|
- template:
|
||||||
src: templates/init.vim.j2
|
src: templates/init.vim.j2
|
||||||
dest: ~/.config/nvim/init.vim
|
dest: ~/.config/nvim/init.vim
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: Create .tmux
|
- name: Create .tmux
|
||||||
shell: mkdir -p ~/.tmux
|
file:
|
||||||
|
path: ~/.tmux
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Clone tpm
|
- name: Clone tpm
|
||||||
git:
|
git:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
name: mfocko
|
name: mfocko
|
||||||
generate_ssh_key: yes
|
generate_ssh_key: yes
|
||||||
ssh_key_type: ed25519
|
ssh_key_type: ed25519
|
||||||
ssh_key_comment: "$HOSTNAME"
|
ssh_key_comment: "$HOSTNAME-{{ ansible_facts['distribution'] }}"
|
||||||
|
|
||||||
- name: Install SSH config
|
- name: Install SSH config
|
||||||
template:
|
template:
|
||||||
|
@ -15,4 +15,4 @@
|
||||||
- name: Enable sshd
|
- name: Enable sshd
|
||||||
systemd:
|
systemd:
|
||||||
name: sshd
|
name: sshd
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
---
|
---
|
||||||
- name: Create directories for VSCode
|
- name: Create directories for VSCode
|
||||||
block:
|
file:
|
||||||
- shell: mkdir -p ~/.local/bin
|
path: "{{ item }}"
|
||||||
- shell: mkdir -p ~/.local/share
|
state: directory
|
||||||
- shell: mkdir -p "$HOME/.config/Code - Insiders/User"
|
loop:
|
||||||
|
- ~/.local/bin
|
||||||
|
- ~/.local/share
|
||||||
|
- "$HOME/.config/Code - Insiders/User"
|
||||||
|
|
||||||
- name: Install VSCode script
|
- name: Install VSCode script
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue