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,8 +1,9 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2016, Mathieu Bultel <mbultel@redhat.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Copyright (c) 2016, Mathieu Bultel <mbultel@redhat.com>
# 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
@@ -12,10 +13,17 @@ DOCUMENTATION = '''
module: pacemaker_cluster
short_description: Manage pacemaker clusters
author:
- Mathieu Bultel (@matbu)
- Mathieu Bultel (@matbu)
description:
- This module can manage a pacemaker cluster and nodes from Ansible using
the pacemaker cli.
- This module can manage a pacemaker cluster and nodes from Ansible using
the pacemaker cli.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
state:
description:
@@ -36,13 +44,13 @@ options:
description:
- Force the change of the cluster state
type: bool
default: 'yes'
default: true
'''
EXAMPLES = '''
---
- name: Set cluster Online
hosts: localhost
gather_facts: no
gather_facts: false
tasks:
- name: Get cluster state
community.general.pacemaker_cluster:
@@ -51,7 +59,7 @@ EXAMPLES = '''
RETURN = '''
changed:
description: True if the cluster state has changed
description: true if the cluster state has changed
type: bool
returned: always
out: