Class: Ansible::Ruby::Modules::Assemble

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/files/assemble.rb

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, #to_h, validates

Constructor Details

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

Instance Method Details

#backup:yes, ...

Returns Create a backup file (if C(yes)), including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly.

Returns:

  • (:yes, :no, nil)

    Create a backup file (if C(yes)), including the timestamp information so you can get the original file back if you somehow clobbered it incorrectly.



18
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 18

attribute :backup

#delimiterString?

Returns A delimiter to separate the file contents.

Returns:

  • (String, nil)

    A delimiter to separate the file contents.



22
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 22

attribute :delimiter

#destString

Returns A file to create using the concatenation of all of the source files.

Returns:

  • (String)

    A file to create using the concatenation of all of the source files.



14
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 14

attribute :dest

#ignore_hiddenBoolean?

Returns A boolean that controls if files that start with a ‘.’ will be included or not.

Returns:

  • (Boolean, nil)

    A boolean that controls if files that start with a ‘.’ will be included or not.



33
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 33

attribute :ignore_hidden

#regexpObject?

Returns Assemble files only if C(regex) matches the filename. If not set, all files are assembled. All “\” (backslash) must be escaped as “\\” to comply yaml syntax. Uses Python regular expressions; see U(docs.python.org/2/library/re.html).

Returns:

  • (Object, nil)

    Assemble files only if C(regex) matches the filename. If not set, all files are assembled. All “\” (backslash) must be escaped as “\\” to comply yaml syntax. Uses Python regular expressions; see U(docs.python.org/2/library/re.html).



30
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 30

attribute :regexp

#remote_src:True, ...

Returns If False, it will search for src at originating/master machine, if True it will go to the remote/target machine for the src. Default is True.

Returns:

  • (:True, :False, nil)

    If False, it will search for src at originating/master machine, if True it will go to the remote/target machine for the src. Default is True.



26
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 26

attribute :remote_src

#srcString

Returns An already existing directory full of source files.

Returns:

  • (String)

    An already existing directory full of source files.



10
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 10

attribute :src

#validateString?

Returns The validation command to run before copying into place. The path to the file to validate is passed in via ‘%s’ which must be present as in the sshd example below. The command is passed securely so shell features like expansion and pipes won’t work.

Returns:

  • (String, nil)

    The validation command to run before copying into place. The path to the file to validate is passed in via ‘%s’ which must be present as in the sshd example below. The command is passed securely so shell features like expansion and pipes won’t work.



37
# File 'lib/ansible/ruby/modules/generated/core/files/assemble.rb', line 37

attribute :validate