From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 19:45:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FD16BBD for ; Mon, 2 Feb 2015 19:45:10 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (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 0572A9A0 for ; Mon, 2 Feb 2015 19:45:10 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id vy18so20002266iec.5 for ; Mon, 02 Feb 2015 11:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version; bh=MgF5ytfTS5amQe1wv7yu8LtbnmoevljaAUjDXiSEVdw=; b=sXmOrAeZKsBlDbkJ1epcY37LSVlCZ1O8pf7GfZ0tPj1DDzjwANWfeoAVhZSa9f5RjN iRkMgbUv3NcJ334CvuslGfk/zUC4x7EztXFX6ZZI/5pQFcXzZ3MvwFxoUdM6cIXMkCOb YK2avAT/05iXUmQOl8P+t/yErvHEwISSwVr2Cowfe3dis9kvLPQ5u4uBmJ6gVI0VaprC SdnH8otAcunqebs/b1kRKj/kIy4fKMDO5GSLV3m84QAQI6PGT4FzRT9k/q+JhCJMeQk1 Yjvzf0ADeZH9en+wuMKJ0iOp8k9BSOCqLA11fVG3TOUKBMDmr149nQdHUDeNCIFVisd5 R3Ug== X-Received: by 10.107.157.67 with SMTP id g64mr24881744ioe.72.1422906309450; Mon, 02 Feb 2015 11:45:09 -0800 (PST) Received: from [192.168.1.64] (pool-173-57-168-11.dllstx.fios.verizon.net. [173.57.168.11]) by mx.google.com with ESMTPSA id f1sm6597099igt.14.2015.02.02.11.45.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Feb 2015 11:45:08 -0800 (PST) Subject: Skipping or pre-setting the options in a package installation? (bsdstats) From: Matthew Pherigo Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (12B440) Message-Id: Date: Mon, 2 Feb 2015 13:45:09 -0600 To: freebsd-questions Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) 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:45:10 -0000 Hi all, I use Ansible to administrate FreeBSD machines, and every time I install a p= kg(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. T= hough 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 p= lace. Perhaps there's an environment variable like $ALWAYS_ASSUME_YES that c= hooses the defaults that come with the package automatically? Thanks, --Matt=