Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Environmental Cheminformatics
plan-b
Commits
a78c2ace
Commit
a78c2ace
authored
Jun 07, 2021
by
Todor Kondic
Browse files
guix: Install PCL only when member of pcbuilders
parent
48b82389
Changes
2
Hide whitespace changes
Inline
Side-by-side
hosts.txt
View file @
a78c2ace
[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
...
...
tasks/guix.yml
View file @
a78c2ace
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment