mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix code-blocks to use correct syntax highlighting
This commit is contained in:
@@ -124,7 +124,7 @@ EXAMPLES = '''
|
||||
|
||||
- name: upgrade all packages
|
||||
dnf:
|
||||
name: *
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: install the nginx rpm from a remote repo
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -150,12 +150,12 @@ EXAMPLES = '''
|
||||
|
||||
# Update all packages
|
||||
- zypper:
|
||||
name: *
|
||||
name: '*'
|
||||
state: latest
|
||||
|
||||
# Apply all available patches
|
||||
- zypper:
|
||||
name: *
|
||||
name: '*'
|
||||
state: latest
|
||||
type: patch
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ EXAMPLES = '''
|
||||
|
||||
# Refresh all repos
|
||||
- zypper_repository:
|
||||
repo: *
|
||||
repo: '*'
|
||||
runrefresh: yes
|
||||
|
||||
# Add a repo and add it's gpg key
|
||||
|
||||
Reference in New Issue
Block a user