Commit cfb0028

bryfry <bryon.fryer@gmail.com>
2023-01-24 23:15:19
update logbook, move git_repos to vars
1 parent 4738831
Changed files (2)
roles
home
roles/home/tasks/main.yml
@@ -38,15 +38,7 @@
    vars:
      git_dir: "$HOME/git"
    ignore_errors: True
-   loop:
-    - repo: git@github.com:bryfry/home.git
-      dir: home
-    - repo: git@github.com:bryfry/logbook.git
-      dir: logbook
-    - repo: git@github.com:bryfry/docs.git
-      dir: docs
-    - repo: git@gitlab.com:bryfry/mdnotes.git
-      dir: mdnotes
+   loop: "{{ git_repos }}"
 
  - name: home directory dirs
    file:
vars.yml
@@ -38,6 +38,16 @@ apt_ppas:
 apt_ppa_pkgs:
  - gh
 
+git_repos:
+  - repo: git@github.com:bryfry/home.git
+    dir: home
+  - repo: git@gitlab.com:bryfry/mdnotes.git 
+    dir: logbook
+  - repo: git@github.com:bryfry/docs.git
+    dir: docs
+  - repo: git@gitlab.com:bryfry/mdnotes.git
+    dir: mdnotes
+
 traefik:
   version: 2.8.0
   checksum: sha256:8c570f09684db0a34e52dc2894c1312b7510daa6f86db8bbc4641e8698b381b8