Class: Ansible::Ruby::Modules::Redis

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#command:slave, ...

Returns The selected redis command.

Returns:

  • (:slave, :flush, :config)

    The selected redis command



10
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 10

attribute :command

#dbString?

Returns The database to flush (used in db mode) [flush command].

Returns:

  • (String, nil)

    The database to flush (used in db mode) [flush command]



37
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 37

attribute :db

#flush_mode:all, ...

Returns Type of flush (all the dbs in a redis instance or a specific one) [flush command].

Returns:

  • (:all, :db, nil)

    Type of flush (all the dbs in a redis instance or a specific one) [flush command]



41
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 41

attribute :flush_mode

#login_hostString?

Returns The host running the database.

Returns:

  • (String, nil)

    The host running the database



17
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 17

attribute :login_host

#login_passwordObject?

Returns The password used to authenticate with (usually not used).

Returns:

  • (Object, nil)

    The password used to authenticate with (usually not used)



14
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 14

attribute :login_password

#login_portInteger?

Returns The port to connect to.

Returns:

  • (Integer, nil)

    The port to connect to



21
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 21

attribute :login_port

#master_hostString?

Returns The host of the master instance [slave command].

Returns:

  • (String, nil)

    The host of the master instance [slave command]



25
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 25

attribute :master_host

#master_portString?

Returns The port of the master instance [slave command].

Returns:

  • (String, nil)

    The port of the master instance [slave command]



29
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 29

attribute :master_port

#nameString?

Returns A redis config key.

Returns:

  • (String, nil)

    A redis config key.



45
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 45

attribute :name

#slave_mode:master, ...

Returns the mode of the redis instance [slave command].

Returns:

  • (:master, :slave, nil)

    the mode of the redis instance [slave command]



33
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 33

attribute :slave_mode

#valueString?

Returns A redis config value.

Returns:

  • (String, nil)

    A redis config value.



49
# File 'lib/ansible/ruby/modules/generated/extras/database/misc/redis.rb', line 49

attribute :value