code: def add_to_inventory(self):
          
          if not self.server_attrs:
              return
          for addy in self.server_attrs[A.server.PUBLIC_IPS]:
              self.stack.add_host(addy, self.groups, self.hostvars)
docs: Adds host to stack inventory