Class: Ansible::Ruby::Modules::Pacemaker_cluster

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/clustering/pacemaker_cluster.rb

Overview

This module can manage a pacemaker cluster and nodes from Ansible using the pacemaker cli.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#force:yes, ...

Returns Force the change of the cluster state.

Returns:

  • (:yes, :no, nil)

    Force the change of the cluster state



23
# File 'lib/ansible/ruby/modules/generated/clustering/pacemaker_cluster.rb', line 23

attribute :force

#nodeObject?

Returns Specify which node of the cluster you want to manage. None == the cluster status itself, ‘all’ == check the status of all nodes.

Returns:

  • (Object, nil)

    Specify which node of the cluster you want to manage. None == the cluster status itself, ‘all’ == check the status of all nodes.



16
# File 'lib/ansible/ruby/modules/generated/clustering/pacemaker_cluster.rb', line 16

attribute :node

#state:cleanup, ...

Returns Indicate desired state of the cluster.

Returns:

  • (:cleanup, :offline, :online, :restart)

    Indicate desired state of the cluster



12
# File 'lib/ansible/ruby/modules/generated/clustering/pacemaker_cluster.rb', line 12

attribute :state

#timeoutInteger?

Returns Timeout when the module should considered that the action has failed.

Returns:

  • (Integer, nil)

    Timeout when the module should considered that the action has failed



19
# File 'lib/ansible/ruby/modules/generated/clustering/pacemaker_cluster.rb', line 19

attribute :timeout