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/ 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 ## Pistes
- https://github.com/id101010/ansible-archlinux - https://github.com/id101010/ansible-archlinux

View file

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

View file

@ -329,6 +329,11 @@
path: "{{ home }}/.vaults/pass" path: "{{ home }}/.vaults/pass"
state: directory state: directory
recurse: true recurse: true
- name: Setup workspace folder
file:
path: "{{ home }}/workspace"
state: directory
recurse: true
- name: Setup main popequer notebook - name: Setup main popequer notebook
include_role: include_role:
@ -346,17 +351,6 @@
state: started state: started
enabled: true 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 - name: Setup wofi link
become: true become: true
file: file:
@ -392,7 +386,16 @@
include_role: include_role:
name: wayland_fixer 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 - name: Clone monakhos
ansible.builtin.git: ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/monakhos.git" repo: "git@forge.lefuturiste.fr:mbess/monakhos.git"