Commit a78c2ace authored by Todor Kondic's avatar Todor Kondic
Browse files

guix: Install PCL only when member of pcbuilders

parent 48b82389
[ctrl]
eci-crutch ansible_host=10.240.16.183
[pc-builders]
[pcbuilders]
pf0322 ansible_host=10.184.166.19
[stations:children]
pcbuilders
[stations]
pc-builders
pf0323 ansible_host=10.184.166.12
pf0320 ansible_host=10.184.166.17
......
......@@ -48,24 +48,24 @@
tags: guix-inst-pkg
- name: Copy package manifest (PCL).
hosts: pcl-builders
copy:
src: files/etc/guix_manifest_pcl.scm
dest: /etc/guix_manifest_pcl.scm
tags: guix-inst-pkg
when: "'pcbuilders' in group_names"
# - 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 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 }}"
retries: 20
delay: 5
register: result
until: result.rc == 0
loop: "{{ users }}"
when: "'pcbuilders' in group_names"
- name: Install packages.
command:
......
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