Add drive commands

main
Micke Nordin 6 months ago
parent c3eebef453
commit 26354b2ae1

@ -6,6 +6,9 @@
gitops: git+ssh://git@gitops.sunet.se
github: git+ssh://git@github.com/SUNET
platform: git+ssh://git@platform.sunet.se:22022/Drive
commands:
- get_drive_customers
- get_drive_servers
opsrepos:
- sunet-drive-ops
- mail-ops
@ -44,3 +47,9 @@
cmd: git clone {{ platform }}/{{ item }}
creates: /home/{{ uid }}/sunet/puppet/{{ item }}
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…
Cancel
Save