Commit 340322c1 authored by Todor Kondic's avatar Todor Kondic
Browse files

...

parent 1146fb3a
......@@ -26,7 +26,7 @@
- name: Guix pull everywhere.
command:
cmd: /usr/bin/bash -l -c 'guix pull -c6'
cmd: /usr/bin/bash -l -c 'guix pull -c6 -C /home/{{ item.login }}/.config/guix/channels.scm'
become_user: "{{ item.login }}"
loop: "{{ users }}"
tags: guix-pull
......@@ -51,35 +51,35 @@
tags: guix-inst-pkg
- name: Install PCL packages.
command:
cmd: guix package -c8 -m /etc/guix_manifest_pcl.scm --fallback -p ~/.pcl-guix-prof
tags: guix-inst-pkg
become_user: "{{ item.login }}"
become_flags: "-i"
# retries: 20
# delay: 5
register: result
until: result.rc == 0
loop: "{{ users }}"
# - name: Install packages.
# - name: Install PCL packages.
# command:
# cmd: /usr/bin/bash -l -c 'guix package -c8 -m /etc/guix_manifest_pcl.scm --fallback -p ~/.man-guix-prof'
# cmd: guix package -c8 -m /etc/guix_manifest_pcl.scm --fallback -p ~/.pcl-guix-prof
# tags: guix-inst-pkg
# become_user: "{{ item.login }}"
# become_flags: "-i"
# retries: 20
# delay: 5
# register: result
# until: result.rc == 0
# loop: "{{ users }}"
- name: Install guix managed programs.
tags: guix-copy-bin
copy:
src: files/home/user/.local/bin/
dest: "/home/{{ item.login }}/.local/bin"
mode: '0744'
owner: "{{ item.login }}"
group: "{{ item.login }}"
- name: Install packages.
command:
cmd: guix package -c8 -m /etc/guix_manifest.scm --fallback -p ~/.man-guix-prof
tags: guix-inst-pkg
become_user: "{{ item.login }}"
retries: 20
delay: 5
register: result
until: result.rc == 0
loop: "{{ users }}"
# - name: Install guix managed programs.
# tags: guix-copy-bin
# copy:
# src: files/home/user/.local/bin/
# dest: "/home/{{ item.login }}/.local/bin"
# mode: '0744'
# owner: "{{ item.login }}"
# group: "{{ item.login }}"
# loop: "{{ users }}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment