File tree Expand file tree Collapse file tree 3 files changed +12
-16
lines changed
icpc-wf/ansible/roles/cds Expand file tree Collapse file tree 3 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 58
58
when : cds_war.stat.exists
59
59
notify : restart cds
60
60
61
- - name : Populate CDS accounts.json
61
+ - name : Populate CDS accounts.yaml
62
62
template :
63
- src : accounts.json .j2
64
- dest : /home/domjudge/cds/wlp/usr/servers/cds/config/accounts.json
63
+ src : accounts.yaml .j2
64
+ dest : /home/domjudge/cds/wlp/usr/servers/cds/config/accounts.yaml
65
65
owner : domjudge
66
66
group : domjudge
67
67
mode : 0600
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ {% for account in CDS_ACCOUNTS %}
2
+ - id: {{ account.username }}
3
+ username: {{ account.username }}
4
+ password: {{ account.password }}
5
+ type: {{ account.type }}
6
+ {% if account .team_id is defined %}
7
+ team_id: "{{ account.team_id }}"
8
+ {% endif %}
9
+ {% endfor %}
You can’t perform that action at this time.
0 commit comments