How will output Vo vary with Vi in this opamp configuration?
Since there is no resistor in series with the - input, you really are using the opamp as a comparator and the feedback resistor can be removed.  Your circuit is a inverting comparator, BUT, its threshold level is 0 V since that's what you are feeding into the + input.

There are several things you need to do to fix this circuit:

Set the threshold voltage about halfway between the high and low voltage of the digital signal.  Assuming the digital signal goes between power and ground of something like a 3.3 V or 5 V supply, all you need is a resistor divider.  Connect around 10 k&Omega; between the digital supply and the + input, and another 10 k&Omega; between the + input and ground.  This will float the + input at half the supply voltage, which we are assuming is the middle of the digital signal voltage range.

Make sure the opamp is properly powered.  If you want the output to swing &plusmn;15 V, then the supply needs to be at least &plusmn;15 V.  Most opamps that can take such a large supply range can't swing their outputs all the way to the supply rails.  This headroom can be almost 3 V in some cases.  Check the datasheet.  The TL081 you show is known for having a rather large headroom.

However, don't just blindly connect &plusmn;18 V or whatever power to the opamp.  Check the datasheet to make sure you don't exceed the maximum supply voltage the opamp can tolerate.  If your opamp can't handle enough to guarantee &plusmn;15 V out, then you either have to live with a smaller output voltage range or get a different opamp.

Lose R1.  It does nothing useful.  It could even hurt the digital output when swinging well past the digital supply range.