Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
How to make a library with custom params like ./configure
10 views
Skip to first unread message
gitted
unread,
Dec 19, 2017, 9:28:58 PM
12/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
A manual install of the library is like this:
# $ wget
http://www.freetds.org/files/stable/freetds-1.00.21.tar.gz
# $ tar -xzf freetds-1.00.21.tar.gz
# $ cd freetds-1.00.21
# $ ./configure --prefix=/usr/local --with-tdsver=7.3
# $ make
# $ make install
I have this with ansible, but I'm not sure how to do the ./configure --prefix and --with-tdsver part. Any tips?
- name: Install tinytds
make: chdir=/root/freetds-1.00.21 target=install
Message has been deleted
alanp...@gmail.com
unread,
Dec 19, 2017, 11:25:20 PM
12/19/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I haven't used it myself, but there is a make module:
http://docs.ansible.com/ansible/latest/make_module.html
You'll probably use the shell module to do the configure with your specific flags.
Kai Stian Olstad
unread,
Dec 20, 2017, 12:59:17 AM
12/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I don't think there is a module for configure so you need to use the
shell or command module.
- shell: ./configure --prefix=/usr/local --with-tdsver=7.3
args:
chdir: /absolute/path/to/freetds-1.00.21
--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages