diff --git a/tasks/user_cfg/files/dotfiles/zshrc b/tasks/user_cfg/files/dotfiles/zshrc index 575b50f261b6b1612d4ebcc76d9bc8f06c7a516a..735d779c1ce453e429b563f8df7cfb0075770de9 100644 --- a/tasks/user_cfg/files/dotfiles/zshrc +++ b/tasks/user_cfg/files/dotfiles/zshrc @@ -36,7 +36,8 @@ alias ada='sudo apt update && sudo apt list --upgradable && sudo apt clean' alias agr='sudo apt upgrade && sudo apt autoclean && sudo apt autoremove' alias apti='sudo apt install' alias p1='ping -c 1 ' -alias gpu='for proj in $(find ~/git -mindepth 1 -maxdepth 1 -type d -printf "%p\n");do echo "## ${proj}";cd ${proj};git fetch --prune;done;cd ~' +alias gps='for proj in $(find ~/git -mindepth 1 -maxdepth 1 -type d -printf "%p\n");do RES=$(git -C ${proj} status -s) && [[ -n ${RES} ]] && echo "\n# ${proj#${HOME}/git/}:\n${RES}";done' +alias gpu='for proj in $(find ~/git -mindepth 1 -maxdepth 1 -type d -printf "%p\n");do git -C ${proj} fetch --prune --quiet || echo "ERROR fetching git repo: ${proj#${HOME}/git/}";done' alias p1='ping -c 1 ' alias sudo='sudo ' alias ttoday='cat ~/.timed|grep "$(date +%d) Oct 2021" | timed parse' diff --git a/tasks/user_cfg/my_user.yml b/tasks/user_cfg/my_user.yml index d1edc6209c357a7b8cb08bf18ef1470fc7062561..3e0354b5cc6363f74697e1aeebd5a3ec4b722426 100644 --- a/tasks/user_cfg/my_user.yml +++ b/tasks/user_cfg/my_user.yml @@ -16,8 +16,8 @@ - name: MY USER | ssh config become: yes ansible.builtin.template: - src: templates/ssh_config.j2 dest: "/home/{{ my_user }}/.ssh/config" + src: templates/ssh_config.j2 mode: 0640 - name: MY USER | git directory presence diff --git a/tasks/user_cfg/vars/git.yml b/tasks/user_cfg/vars/git.yml index 7d9efb035cf9d91060427406d158495d60f7c836..b87733892e7e912032283951bb51da92b4cc27a7 100644 --- a/tasks/user_cfg/vars/git.yml +++ b/tasks/user_cfg/vars/git.yml @@ -2,12 +2,12 @@ git_repositories: - {local_name: "afpy19", url_https: "https://gitlab.com/free_zed/afpy19.git"} - {local_name: "askthom", url_https: "https://lab.frogg.it/fcode/askthom.git"} - - {local_name: "courotaf.gitlab.io", url_https: "https://gitlab.com/courotaf/courotaf.gitlab.io.git"} - {local_name: "djlease", url_https: "https://gitlab.com/free_zed/djlease.git"} - {local_name: "eb-car", url_https: "https://gitlab.com/combien-de-temps-pour-faire-sonner-la-cloche-a-aiguebelle/combien-de-temps-pour-faire-sonner-la-cloche-a-aiguebelle.gitlab.io.git"} - {local_name: "exchange", url_https: "https://gitlab.com/free_zed/mymsesb.git"} - {local_name: "forga-a14n", url_https: "https://gitlab.com/free_zed/djbp.git"} - {local_name: "forga-core", url_https: "https://gitlab.com/forga/tool/django/core.git"} + - {local_name: "forga-dev-bpy", url_https: "https://gitlab.com/forga/devel/boilerplate/python.git"} - {local_name: "forga-emb", url_https: "https://gitlab.com/forga/process/fr/embarquement.git"} - {local_name: "forga-glio", url_https: "https://gitlab.com/forga/forga.gitlab.io.git"} - {local_name: "forga-man", url_https: "https://gitlab.com/forga/process/fr/manuel.git"} @@ -19,17 +19,11 @@ git_repositories: - {local_name: "grandpy", url_https: "https://github.com/freezed/ocp7.git"} - {local_name: "hellozappa", url_https: "https://gitlab.com/free_zed/hellozappa.git"} - {local_name: "men-rt-ocp08", url_https: "https://github.com/remace/OC-P8-Purbeurre.git"} - - {local_name: "men-rt-ocp09", url_https: "https://github.com/remace/P9-OCPizza_doc_Technique.git"} - - {local_name: "men-rt-ocp11", url_https: "https://github.com/remace/OC-P11-Enhance_A_Former_Project.git"} - {local_name: "mountaingpx", url_https: "https://github.com/krisanselmo/mountaingpx.git"} - {local_name: "myasb", url_https: "https://gitlab.com/forga/tool/ansible/debian.git"} - - {local_name: "mygpxsb", url_https: "https://gitlab.com/courotaf/mygpxsb.git"} - {local_name: "mypsb", url_https: "https://gitlab.com/free_zed/mypsb.git"} - {local_name: "mypumlt", url_https: "https://gitlab.com/free_zed/mypumlt.git"} - {local_name: "myshellsb", url_https: "https://gitlab.com/free_zed/shell.git"} - {local_name: "ocp13", url_https: "https://github.com/freezed/ocp13.git"} - {local_name: "ocp5", url_https: "https://github.com/freezed/ocp5.git"} - {local_name: "ocp8", url_https: "https://gitlab.com/free_zed/ocp8.git"} - - {local_name: "pyconfr19", url_https: "https://gitlab.com/free_zed/pyconfr19.git"} - - {local_name: "python-itop-api", url_https: "https://github.com/guillaume-philippon/python-itop-api.git"} - - {local_name: "signature_pad", url_https: "https://github.com/szimek/signature_pad.git"}