On 20.12.2017 03:28, gitted wrote:
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

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

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/55601d94bd7579e597ae6291f3072e4f%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to