mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
(cherry picked from commit ddc989ec6d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c5ff49db56
commit
5a2e7f9b1b
38 changed files with 242 additions and 228 deletions
|
@ -36,12 +36,12 @@ options:
|
|||
- Remove other then added repositories
|
||||
- Used if I(state=present)
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
update:
|
||||
description:
|
||||
- Update the package database after changing repositories.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
author:
|
||||
- Mikhail Gordeev (@obirvalger)
|
||||
'''
|
||||
|
@ -56,13 +56,13 @@ EXAMPLES = '''
|
|||
community.general.apt_repo:
|
||||
repo: Sisysphus
|
||||
state: present
|
||||
remove_others: yes
|
||||
remove_others: true
|
||||
|
||||
- name: Add local repository `/space/ALT/Sisyphus` and update package cache
|
||||
community.general.apt_repo:
|
||||
repo: copy:///space/ALT/Sisyphus
|
||||
state: present
|
||||
update: yes
|
||||
update: true
|
||||
'''
|
||||
|
||||
RETURN = ''' # '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue