Add drive commands
This commit is contained in:
parent
c3eebef453
commit
26354b2ae1
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
gitops: git+ssh://git@gitops.sunet.se
|
gitops: git+ssh://git@gitops.sunet.se
|
||||||
github: git+ssh://git@github.com/SUNET
|
github: git+ssh://git@github.com/SUNET
|
||||||
platform: git+ssh://git@platform.sunet.se:22022/Drive
|
platform: git+ssh://git@platform.sunet.se:22022/Drive
|
||||||
|
commands:
|
||||||
|
- get_drive_customers
|
||||||
|
- get_drive_servers
|
||||||
opsrepos:
|
opsrepos:
|
||||||
- sunet-drive-ops
|
- sunet-drive-ops
|
||||||
- mail-ops
|
- mail-ops
|
||||||
|
@ -44,3 +47,9 @@
|
||||||
cmd: git clone {{ platform }}/{{ item }}
|
cmd: git clone {{ platform }}/{{ item }}
|
||||||
creates: /home/{{ uid }}/sunet/puppet/{{ item }}
|
creates: /home/{{ uid }}/sunet/puppet/{{ item }}
|
||||||
loop: "{{ platformrepos }}"
|
loop: "{{ platformrepos }}"
|
||||||
|
- name: Install sunet programs
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: /home/{{ uid }}/sunet/ops/sunet-drive-ops/{{item}}
|
||||||
|
dest: /home/{{ uid }}/.local/bin/{{ item }}
|
||||||
|
state: link
|
||||||
|
loop: "{{ commands }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue