summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/packaging/os
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-01-07 08:50:10 -0800
committerToshio Kuratomi <a.badger@gmail.com>2017-01-08 09:18:45 -0800
commit08d6990e675ac9a747700a594e6cf0dd42e15d8d (patch)
tree17704058706fe05f420eed222bb52780a9133bae /lib/ansible/modules/packaging/os
parent01849004e905497d94c167185e19e5652499c8b0 (diff)
downloadansible-08d6990e675ac9a747700a594e6cf0dd42e15d8d.tar.gz
Fix code-blocks to use correct syntax highlighting
Diffstat (limited to 'lib/ansible/modules/packaging/os')
-rw-r--r--lib/ansible/modules/packaging/os/dnf.py2
-rw-r--r--lib/ansible/modules/packaging/os/openbsd_pkg.py2
-rw-r--r--lib/ansible/modules/packaging/os/portage.py4
-rw-r--r--lib/ansible/modules/packaging/os/zypper.py4
-rw-r--r--lib/ansible/modules/packaging/os/zypper_repository.py2
5 files changed, 7 insertions, 7 deletions
diff --git a/lib/ansible/modules/packaging/os/dnf.py b/lib/ansible/modules/packaging/os/dnf.py
index bf138974a1..c980deb11d 100644
--- a/lib/ansible/modules/packaging/os/dnf.py
+++ b/lib/ansible/modules/packaging/os/dnf.py
@@ -124,7 +124,7 @@ EXAMPLES = '''
- name: upgrade all packages
dnf:
- name: *
+ name: "*"
state: latest
- name: install the nginx rpm from a remote repo
diff --git a/lib/ansible/modules/packaging/os/openbsd_pkg.py b/lib/ansible/modules/packaging/os/openbsd_pkg.py
index 522492c391..24089e61de 100644
--- a/lib/ansible/modules/packaging/os/openbsd_pkg.py
+++ b/lib/ansible/modules/packaging/os/openbsd_pkg.py
@@ -126,7 +126,7 @@ EXAMPLES = '''
# Update all packages on the system
- openbsd_pkg:
- name: *
+ name: '*'
state: latest
# Purge a package and it's configuration files
diff --git a/lib/ansible/modules/packaging/os/portage.py b/lib/ansible/modules/packaging/os/portage.py
index af7c891a45..5e2b241c83 100644
--- a/lib/ansible/modules/packaging/os/portage.py
+++ b/lib/ansible/modules/packaging/os/portage.py
@@ -208,12 +208,12 @@ EXAMPLES = '''
# Re-install world from binary packages only and do not allow any compiling
- portage:
- package: @world
+ package: '@world'
usepkgonly: yes
# Sync repositories and update world
- portage:
- package: @world
+ package: '@world'
update: yes
deep: yes
sync: yes
diff --git a/lib/ansible/modules/packaging/os/zypper.py b/lib/ansible/modules/packaging/os/zypper.py
index 837a7ef477..a3fe2aa2b1 100644
--- a/lib/ansible/modules/packaging/os/zypper.py
+++ b/lib/ansible/modules/packaging/os/zypper.py
@@ -150,12 +150,12 @@ EXAMPLES = '''
# Update all packages
- zypper:
- name: *
+ name: '*'
state: latest
# Apply all available patches
- zypper:
- name: *
+ name: '*'
state: latest
type: patch
diff --git a/lib/ansible/modules/packaging/os/zypper_repository.py b/lib/ansible/modules/packaging/os/zypper_repository.py
index 187e580367..97ca36100b 100644
--- a/lib/ansible/modules/packaging/os/zypper_repository.py
+++ b/lib/ansible/modules/packaging/os/zypper_repository.py
@@ -135,7 +135,7 @@ EXAMPLES = '''
# Refresh all repos
- zypper_repository:
- repo: *
+ repo: '*'
runrefresh: yes
# Add a repo and add it's gpg key