blob: 9abc39cd1bca9441c4d5e2b26191f36b0a1b4bb2 [file] [log] [blame]
import os
import base64
from django.db.models import F, Q
from xos.config import Config
from core.models.site import Site
from xos.logger import observer_logger as logger
from synchronizers.base.ansible_helper import *
from synchronizers.base.syncstep import *
class SyncSites(SyncStep):
provides=[Site]
requested_interval=0
observes=[Site]
# We're not sync'ing sites with L-XOS
# Just mark it as sync'ed
def sync_record(self, site):
site.backend_status = "0 - not sync'ed by globalxos"
site.save()