fix: re-order creation of workspaces

This commit is contained in:
Matthieu Bessat 2024-11-23 17:35:53 +01:00
parent ace90fcb8c
commit 50099fdfed
3 changed files with 31 additions and 16 deletions

View file

@ -102,6 +102,12 @@ https://github.com/fairyglade/ly
https://archinstall.archlinux.page/
## Known issues
### SSH known hosts
You need to keep updated the known hosts in your profiles to not have this info erased each time you play the ansible book.
## Pistes
- https://github.com/id101010/ansible-archlinux

View file

@ -5,7 +5,6 @@ common:
- util-linux
- dkms
- less
- git
- tmux
- screen
- openssh
@ -165,9 +164,13 @@ common:
- aur/tippecanoe
osm:
- aur/osmium-tool
git:
- aur/gitwatch-git
- tig
vcs:
git:
- git
- tig
- aur/gitwatch-git
fossil:
- fossil
network:
bandwidth:
- name: iperf3
@ -492,6 +495,9 @@ common:
geo:
- aur/mepo
- qgis
vcs:
git:
- giggle
db:
- name: dbeaver
tags: ['heavy-gui']

View file

@ -329,6 +329,11 @@
path: "{{ home }}/.vaults/pass"
state: directory
recurse: true
- name: Setup workspace folder
file:
path: "{{ home }}/workspace"
state: directory
recurse: true
- name: Setup main popequer notebook
include_role:
@ -346,17 +351,6 @@
state: started
enabled: true
# WORKSPACE
- name: Clone books sources
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/books-sources.git"
dest: /home/mbess/workspace/books_sources
when: "'perso' in enabled_profiles"
- name: Clone snippets space
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/snippets.git"
dest: /home/mbess/workspace/snippets
- name: Setup wofi link
become: true
file:
@ -392,7 +386,16 @@
include_role:
name: wayland_fixer
# Final workspaces
# Initialize Workspaces
- name: Clone books sources
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/books-sources.git"
dest: /home/mbess/workspace/books_sources
when: "'perso' in enabled_profiles"
- name: Clone general programming snippets
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/snippets.git"
dest: /home/mbess/workspace/snippets
- name: Clone monakhos
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/monakhos.git"