From 50099fdfede60752bf66dd08ba20b90b9822361f Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sat, 23 Nov 2024 17:35:53 +0100 Subject: [PATCH] fix: re-order creation of workspaces --- README.md | 6 ++++++ ansible/arch_packages.yaml | 14 ++++++++++---- ansible/workstation.yaml | 27 +++++++++++++++------------ 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d631662..aa595a3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/ansible/arch_packages.yaml b/ansible/arch_packages.yaml index 2cd271b..c2bda48 100644 --- a/ansible/arch_packages.yaml +++ b/ansible/arch_packages.yaml @@ -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'] diff --git a/ansible/workstation.yaml b/ansible/workstation.yaml index b71da3d..e4a5010 100644 --- a/ansible/workstation.yaml +++ b/ansible/workstation.yaml @@ -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"