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

...

parent 1146fb3a
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
- name: Guix pull everywhere. - name: Guix pull everywhere.
command: 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 }}" become_user: "{{ item.login }}"
loop: "{{ users }}" loop: "{{ users }}"
tags: guix-pull tags: guix-pull
...@@ -51,35 +51,35 @@ ...@@ -51,35 +51,35 @@
tags: guix-inst-pkg tags: guix-inst-pkg
- name: Install PCL packages. # - 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.
# command: # 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 # tags: guix-inst-pkg
# become_user: "{{ item.login }}" # become_user: "{{ item.login }}"
# become_flags: "-i"
# retries: 20 # retries: 20
# delay: 5 # delay: 5
# register: result # register: result
# until: result.rc == 0 # until: result.rc == 0
# loop: "{{ users }}" # loop: "{{ users }}"
- name: Install guix managed programs. - name: Install packages.
tags: guix-copy-bin command:
copy: cmd: guix package -c8 -m /etc/guix_manifest.scm --fallback -p ~/.man-guix-prof
src: files/home/user/.local/bin/ tags: guix-inst-pkg
dest: "/home/{{ item.login }}/.local/bin" become_user: "{{ item.login }}"
mode: '0744' retries: 20
owner: "{{ item.login }}" delay: 5
group: "{{ item.login }}" register: result
until: result.rc == 0
loop: "{{ users }}" 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