code: def add_to_inventory(self):
          
          host = self.db_attrs.pop(A.database.HOST)
          self.stack.add_host(
                  host,
                  self.groups,
                  self.db_attrs
                  )
docs: Adds db host to stack inventory