ansible python API

excuse me is there are developing OpenStack using ansible python API? maybe can give me some example