Added missing variable assignment to file module

The missing state=directory has been added to the list of arguments to
the file module. This should resolve any errors arising from the
creation of the logs directory.