collection 교체

This commit is contained in:
정훈 변
2024-02-23 16:37:40 +09:00
parent b494779b5b
commit 3fd554eee9
38862 changed files with 220204 additions and 6600073 deletions

View File

@@ -1,9 +1,10 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2018, Mikhail Gordeev
# Copyright (c) 2018, Mikhail Gordeev
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
from __future__ import absolute_import, division, print_function
__metaclass__ = type
@@ -18,6 +19,13 @@ description:
notes:
- This module works on ALT based distros.
- Does NOT support checkmode, due to a limitation in apt-repo tool.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
repo:
description:
@@ -33,14 +41,14 @@ options:
remove_others:
description:
- Remove other then added repositories
- Used if I(state=present)
- Used if O(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)
'''
@@ -55,13 +63,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 = ''' # '''