The Trump administration recently announced that it is rolling back Obama administration polices that had tolerated marijuana businesses where legal under state law. Federal prosecutors are now free to enforce federal laws against marijuana, even if legal under local state law. 
The sale and use of marijuana has remained illegal under federal law, despite legalization under state law in several states. Marijuana businesses and the landlords who rent space to them are subject to criminal penalties including imprisonment. Landlords may lose their property in civil forfeiture actions.
Landlords who knowingly rent to marijuana businesses do so at their peril. It is best to consult with an attorney before taking actions that may place your freedom and your property in jeopardy.
 See this CNN page, for example. http://www.cnn.com/2018/01/04/politics/jeff-sessions-cole-memo/index.html