From 09e7cc2aa6c50007eda331008f87bcb7ddd5b75f Mon Sep 17 00:00:00 2001 From: Matthew Pherigo Date: Sat, 14 Jun 2014 19:31:45 -0500 Subject: [PATCH] [openbsd-pkg] Add note regarding package flavors This adds a note to the openbsd-pkg module which explains how to specify package flavors as well as how to avoid ambiguity errors on a package with multiple flavors. Technically, this is not Ansible-specific, but it's pretty likely the user will encounter this problem. --- packaging/openbsd_pkg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packaging/openbsd_pkg b/packaging/openbsd_pkg index a987c5829ad..b8527ab004a 100644 --- a/packaging/openbsd_pkg +++ b/packaging/openbsd_pkg @@ -53,6 +53,13 @@ EXAMPLES = ''' # Make sure nmap is not installed - openbsd_pkg: name=nmap state=absent + +# Specify a pkg flavour with '--' +- openbsd_pkg: name=vim--nox11 state=present + +# Getting ambiguity errors? +# Specify the default flavour: +- openbsd_pkg: name=vim-- state=present ''' # Control if we write debug information to syslog.