From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 19:48:00 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5D1CD57 for ; Mon, 2 Feb 2015 19:48:00 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 359689CE for ; Mon, 2 Feb 2015 19:48:00 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id y19so40711341wgg.11 for ; Mon, 02 Feb 2015 11:47:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=AITuip+GMhr7XKiF0fdO8ppVVZ4MSYLRba1hh9K/Qvs=; b=DDgZpXPSouSr7s2GNG6Flt+RPyHExAx3aP+7Q3kyXwkgzbbzHnXQ1GJZeE5exnK2ko x1YRliZeRkWh4yQGhne1TVzyimDNHig5KdUGbHoyeE+c+2k2hSDOWDGmnDhKwYRdKfLk 3qmaGd3vvr9yUfIkWYS7klS6/mT51AOIWIQsKDr5+VzFGNGBX/2xAKa+ZPvTE+6llP7n 0LaIwMOGuQUpiJGi7Xs4Qu1MqfzfQBRcvSbbAjgFY+ZMOrfLz/GnDwdk+ZO/vDSMPqDm /IHZ1Q1nxTssobr+jvjlpYo/belLCDsQzST91uEDc62M7S5I0LCPVUjJU7PQFsI8cNt8 bEEQ== X-Received: by 10.180.103.40 with SMTP id ft8mr27125229wib.68.1422906470554; Mon, 02 Feb 2015 11:47:50 -0800 (PST) Received: from localhost ([2a01:7e00::f03c:91ff:fe70:2696]) by mx.google.com with ESMTPSA id vq9sm29284431wjc.6.2015.02.02.11.47.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 11:47:49 -0800 (PST) From: Malcolm Matalka To: Matthew Pherigo Subject: Re: Skipping or pre-setting the options in a package installation? (bsdstats) References: Date: Mon, 02 Feb 2015 19:47:48 +0000 In-Reply-To: (Matthew Pherigo's message of "Mon, 2 Feb 2015 13:45:09 -0600") Message-ID: <87386o14ez.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 19:48:00 -0000 >From "pkg help install" -y, --yes Assume yes when asked for confirmation before package installation. Matthew Pherigo writes: > Hi all, > > I use Ansible to administrate FreeBSD machines, and every time I install a pkg(8) that prompts for options (like bsdstats, which asks some > simple yes/no questions), the install stops and waits for input that will never arrive. Though I'm sure that something can be improved about > how Ansible handles this situation, I'm wondering how this can be automated or skipped in the first place. Perhaps there's an environment > variable like $ALWAYS_ASSUME_YES that chooses the defaults that come with the package automatically? > > Thanks, > --Matt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"