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

guix: Install PCL only when member of pcbuilders

parent 48b82389
[ctrl] [ctrl]
eci-crutch ansible_host=10.240.16.183 eci-crutch ansible_host=10.240.16.183
[pc-builders] [pcbuilders]
pf0322 ansible_host=10.184.166.19 pf0322 ansible_host=10.184.166.19
[stations:children]
pcbuilders
[stations] [stations]
pc-builders
pf0323 ansible_host=10.184.166.12 pf0323 ansible_host=10.184.166.12
pf0320 ansible_host=10.184.166.17 pf0320 ansible_host=10.184.166.17
......
...@@ -48,24 +48,24 @@ ...@@ -48,24 +48,24 @@
tags: guix-inst-pkg tags: guix-inst-pkg
- name: Copy package manifest (PCL). - name: Copy package manifest (PCL).
hosts: pcl-builders
copy: copy:
src: files/etc/guix_manifest_pcl.scm src: files/etc/guix_manifest_pcl.scm
dest: /etc/guix_manifest_pcl.scm dest: /etc/guix_manifest_pcl.scm
tags: guix-inst-pkg tags: guix-inst-pkg
when: "'pcbuilders' in group_names"
# - name: Install PCL packages. - name: Install PCL packages.
# command: command:
# cmd: guix package -c8 -m /etc/guix_manifest_pcl.scm --fallback -p ~/.pcl-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 }}" when: "'pcbuilders' in group_names"
- name: Install packages. - name: Install packages.
command: 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