diff options
author | Sam Doran <sdoran@ansible.com> | 2016-10-12 18:00:10 -0400 |
---|---|---|
committer | Sam Doran <sdoran@ansible.com> | 2016-11-15 14:23:36 -0500 |
commit | 34fb8c3ec285078ecf68e011331958281ee9142f (patch) | |
tree | 6828b937395557bfb6947ddac36d51d618fc38cd | |
parent | 3f224de12aee6222a88c32700f1e86fac0a9d857 (diff) | |
download | ansible-modules-core-34fb8c3ec285078ecf68e011331958281ee9142f.tar.gz |
Change example syntax on package module
-rw-r--r-- | packaging/os/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packaging/os/package.py b/packaging/os/package.py index 2ae7c7fb..d40ed3d4 100644 --- a/packaging/os/package.py +++ b/packaging/os/package.py @@ -53,9 +53,13 @@ notes: ''' EXAMPLES = ''' - name: install the latest version of ntpdate - package: name=ntpdate state=latest + package: + name: ntpdate + state: latest # This uses a variable as this changes per distribution. - name: remove the apache package - package: name={{apache}} state=absent + package: + name: "{{ apache }}" + state: absent ''' |