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
|
||||
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…
Add table
Reference in a new issue