예제 #1
0
def index(request):
    temp_name = "setup/setup-header.html"
    all_host = Host.objects.all()
    all_dir = get_roles(roles_dir)
    all_pbook = get_playbook(playbook_dir)
    all_group = HostGroup.objects.all()
    return render(request, 'setup/ansible.html', locals())
예제 #2
0
def index(request):
    temp_name = "setup/setup-header.html"
    all_host = Host.objects.all()
    all_dir = get_roles(roles_dir)
    all_pbook = get_playbook(playbook_dir)
    all_group = HostGroup.objects.all()
    return render(request, 'setup/ansible.html', locals())
예제 #3
0
def index(request):
    all_host = Asset.objects.all()
    all_group = HostGroup.objects.all()
    all_dir = get_roles(roles_dir)
    all_pbook = get_playbook(playbook_dir)
    return render(request, 'setup/ansible.html', locals())