From 043b2cbcb4b501cb74f2d30f8986c608e71e03b2 Mon Sep 17 00:00:00 2001 From: Matthew Seaman Date: Mon, 25 Jan 2016 16:20:17 +0000 Subject: [PATCH] Change example to use pkg rather than the obsolete pkg_add pkg_add has been obsoleted in all released versions of FreeBSD for several years. Change the example to use the appropriate pkg(8) command line. --- docsite/rst/intro_bsd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/intro_bsd.rst b/docsite/rst/intro_bsd.rst index 17c1b8d151..ba0e07f2c8 100644 --- a/docsite/rst/intro_bsd.rst +++ b/docsite/rst/intro_bsd.rst @@ -30,7 +30,7 @@ Bootstrapping BSD For Ansible to effectively manage your machine, we need to install Python along with a json library, in this case we are using Python 2.7 which already has json included. On your control machine you can simply execute the following for most versions of FreeBSD:: - ansible -m raw -a “pkg_add -r python27” mybsdhost1 + ansible -m raw -a “pkg install -y python27” mybsdhost1 Once this is done you can now use other Ansible modules aside from the ``raw`` module.