'Enqueue a job on an associated atomic group of hosts
:param job: the :class:`Job` that will be sent to this atomic group
:type job: :class:`Job`
:param is_template: wether the job is a template (True) or a regular
job (False). Default is a regular job (False).
:type is_template: boolean'

def enqueue_job(self, job, is_template=False):

    queue_entry = HostQueueEntry.create(atomic_group=self, job=job, is_template=is_template)
    queue_entry.save()
