Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2015 19:47:48 +0000
From:      Malcolm Matalka <mmatalka@gmail.com>
To:        Matthew Pherigo <hybrid120@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Skipping or pre-setting the options in a package installation? (bsdstats)
Message-ID:  <87386o14ez.fsf@gmail.com>
In-Reply-To: <C0DDC886-45E4-41B7-B4FD-7108FE746B30@gmail.com> (Matthew Pherigo's message of "Mon, 2 Feb 2015 13:45:09 -0600")
References:  <C0DDC886-45E4-41B7-B4FD-7108FE746B30@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>From "pkg help install"

     -y, --yes  Assume yes when asked for confirmation before package
      installation.


Matthew Pherigo <hybrid120@gmail.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87386o14ez.fsf>