mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Unquote urls in YAML - packaging (#5793)
This commit is contained in:
parent
e49667d94c
commit
8ae7d2dcc4
6 changed files with 12 additions and 12 deletions
|
@ -85,23 +85,23 @@ requirements:
|
|||
EXAMPLES = '''
|
||||
# Add specified repository into sources list.
|
||||
- apt_repository:
|
||||
repo: 'deb http://archive.canonical.com/ubuntu hardy partner'
|
||||
repo: deb http://archive.canonical.com/ubuntu hardy partner
|
||||
state: present
|
||||
|
||||
# Add specified repository into sources list using specified filename.
|
||||
- apt_repository:
|
||||
repo: 'deb http://dl.google.com/linux/chrome/deb/ stable main'
|
||||
repo: deb http://dl.google.com/linux/chrome/deb/ stable main
|
||||
state: present
|
||||
filename: 'google-chrome'
|
||||
|
||||
# Add source repository into sources list.
|
||||
- apt_repository:
|
||||
repo: 'deb-src http://archive.canonical.com/ubuntu hardy partner'
|
||||
repo: deb-src http://archive.canonical.com/ubuntu hardy partner
|
||||
state: present
|
||||
|
||||
# Remove specified repository from sources list.
|
||||
- apt_repository:
|
||||
repo: 'deb http://archive.canonical.com/ubuntu hardy partner'
|
||||
repo: deb http://archive.canonical.com/ubuntu hardy partner
|
||||
state: absent
|
||||
|
||||
# Add nginx stable repository from PPA and install its signing key.
|
||||
|
|
|
@ -63,7 +63,7 @@ EXAMPLES = '''
|
|||
- rhn_channel:
|
||||
name: rhel-x86_64-server-v2vwin-6
|
||||
sysname: server01
|
||||
url: 'https://rhn.redhat.com/rpc/api'
|
||||
url: https://rhn.redhat.com/rpc/api
|
||||
user: rhnuser
|
||||
password: guessme
|
||||
'''
|
||||
|
|
|
@ -112,7 +112,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
username: joe_user
|
||||
password: somepass'
|
||||
server_url: 'https://xmlrpc.my.satellite/XMLRPC'
|
||||
server_url: https://xmlrpc.my.satellite/XMLRPC
|
||||
|
||||
# Register as user (joe_user) with password (somepass) and enable
|
||||
# channels (rhel-x86_64-server-6-foo-1) and (rhel-x86_64-server-6-bar-1).
|
||||
|
|
|
@ -54,7 +54,7 @@ EXAMPLES = '''
|
|||
# Example action to import a key from a url
|
||||
- rpm_key:
|
||||
state: present
|
||||
key: 'http://apt.sw.be/RPM-GPG-KEY.dag.txt'
|
||||
key: http://apt.sw.be/RPM-GPG-KEY.dag.txt
|
||||
|
||||
# Example action to import a key from a file
|
||||
- rpm_key:
|
||||
|
|
|
@ -183,7 +183,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: install the nginx rpm from a remote repo
|
||||
yum:
|
||||
name: 'http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm'
|
||||
name: http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
|
||||
state: present
|
||||
|
||||
- name: install nginx rpm from a local file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue