Skip to content

Commit

Permalink
Update vomses task to write proper format
Browse files Browse the repository at this point in the history
  • Loading branch information
brucellino committed Jun 26, 2018
1 parent 1dcabf8 commit 3d44c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
- name: Ensure vomses are present
copy:
dest: "{{ vomses_dir }}/{{ item.name }}-{{ item.Vo[0].VoVomsServer[0].VoVomsServer[1].hostname[0] }}"
# content: "{{ item.Vo[0].name[0] }} {{ item.Vo[0].VoVomsServer[0].VoVomsServer[1].hostname[0]}} {{ item.Vo[0].VoVomsServer[0].vomses_port }} {{ item.Vo[0].VoVomsServer[0].VoVomsServer[2].X509Cert[0].DN[0] }} {{ item.name }}"
content: "vo_name hostname port dn alias"
content: "{{ item.name }} {{ item.Vo[0].VoVomsServer[0].VoVomsServer[1].hostname[0]}} {{ item.Vo[0].VoVomsServer[0].vomses_port }} {{ item.Vo[0].VoVomsServer[0].VoVomsServer[2].X509Cert[0].DN[0] }} {{ item.name }}"
# content: "vo_name hostname port dn alias"
loop: "{{ vo_voms | json_query('json.voVoms[*]')}}"
ignore_errors: true

0 comments on commit 3d44c92

Please sign in to comment.