Skip to content

Commit 36b425a

Browse files
committed
Compile and install admof
1 parent 3c8af40 commit 36b425a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

ansible/roles/sql-remctl/tasks/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,29 @@
1616
state: link
1717
src: /srv/remctl-pony/remctl.conf
1818
dest: /etc/remctl/conf.d/sql
19+
- name: Install build dependencies of admof
20+
package:
21+
name:
22+
- build-essential
23+
- autoconf
24+
- automake
25+
- libopenafs-dev
26+
- krb5-multidev
27+
- heimdal-multidev
28+
- name: Create accountadm directory
29+
file:
30+
path: /srv/accountadm
31+
owner: scripts-build
32+
state: directory
33+
- name: Compile admof
34+
shell: |
35+
set -ex
36+
cd /srv/repository/server/common/oursrc/accountadm
37+
autoreconf -fvi
38+
cd /srv/accountadm
39+
/srv/repository/server/common/oursrc/accountadm/configure
40+
make
41+
args:
42+
creates: /srv/accountadm/admof
43+
become: yes
44+
become_user: scripts-build

0 commit comments

Comments
 (0)