diff --git a/README.md b/README.md index f629268..33c22bd 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## How to use -Ansible allows to duplicate this desktop environment over multiple hosts with specific configuration (dualscreen, packages...). +Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...). Fork Me! Please look at ``roles/*/README.md`` if exists for specific hosts configuration. ## Dependencies diff --git a/TODO b/TODO index 626ba53..ebf510c 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,11 @@ -- add borgbackup conf -- add tmux and configure -- mv files to sync if synchronize, then reinit submodules -- use maximum of copy + backup=yes +- TODO: borgbackup conf +- TODO: tmux and configure +- TODO: mv files to sync if synchronize, then reinit submodules +- TODO: use maximum of copy + backup=yes + - TOFIX: autolaunch i3 apps good order -- TOFIX: find a way to clean tmp dir while packer install - TOFIX: zsh termite -> https://github.com/thestinger/termite/issues/550 + - TOTEST: ssh-agent ssh-add in zshrc startx - TOTEST: vim install powerline +- TOTEST: clean dotfiles after run diff --git a/roles/packages-common/tasks/main.yml b/roles/packages-common/tasks/main.yml index 9652af7..9812ac7 100644 --- a/roles/packages-common/tasks/main.yml +++ b/roles/packages-common/tasks/main.yml @@ -16,13 +16,20 @@ become: True - name: Install cower on Archlinux - shell: creates=/usr/bin/cower curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower; makepkg PKGBUILD --skippgpcheck --install --needed --noconfirm + shell: curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower; makepkg PKGBUILD --skippgpcheck --install --needed --noconfirm + args: + creates: /usr/bin/cower + chdir: /tmp + when: ansible_os_family == "Archlinux" + +- name: Install packer on Archlinux + shell: curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm + args: + creates: /usr/bin/packer + chdir: /tmp when: ansible_os_family == "Archlinux" #- name: Install pacaur on Archlinux #shell: creates=/usr/bin/pacaur curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur; makepkg PKGBUILD --install --needed --noconfirm #when: ansible_os_family == "Archlinux" -- name: Install packer on Archlinux - shell: creates=/usr/bin/packer curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm - when: ansible_os_family == "Archlinux" diff --git a/vagrant/archlinux/Vagrantfile b/vagrant/archlinux/Vagrantfile index 3822e00..fdb63ab 100644 --- a/vagrant/archlinux/Vagrantfile +++ b/vagrant/archlinux/Vagrantfile @@ -49,7 +49,9 @@ Vagrant.configure("2") do |config| cd dotfiles git checkout dev git submodule update --init --recursive + cd /tmp curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm + cd - ./install.sh desktop echo -e "vagrant\n/usr/bin/zsh" | chsh SCRIPT