Skip to content

Commit

Permalink
Merge pull request #3 from abims-sbr/config_file_path
Browse files Browse the repository at this point in the history
Config file path
  • Loading branch information
lecorguille authored May 23, 2019
2 parents e0f918a + 511690c commit b692c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Singularity target version
singularity_version: "3.0.3"

singularity_conf_path: "/usr/local/etc/singularity/singularity.conf"

bind_paths: []
# example
# - /shared/home/
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

- name: singularity | config bind bind_path
lineinfile:
path: /etc/singularity/singularity.conf
path: "{{ singularity_conf_path }}"
line: 'bind path = {{ item }}'
create: yes
backup: yes
Expand Down

0 comments on commit b692c28

Please sign in to comment.