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())
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())