Class: Ansible::Ruby::Modules::Slack
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Slack
- Defined in:
- lib/ansible/ruby/modules/generated/notification/slack.rb
Overview
The C(slack) module sends notifications to U(slack.com) via the Incoming WebHook integration
Instance Method Summary collapse
-
#attachments ⇒ Array<Hash>, ...
Define a list of attachments.
-
#channel ⇒ String?
Channel to send the message to.
-
#color ⇒ :normal, ...
Allow text to use default colors - use the default of ‘normal’ to not send a custom color bar at the start of the message.
-
#domain ⇒ Object?
Slack (sub)domain for your environment without protocol.
-
#icon_emoji ⇒ Object?
Emoji for the message sender.
-
#icon_url ⇒ String?
Url for the message sender’s icon (default C(www.ansible.com/favicon.ico)).
-
#link_names ⇒ 1, ...
Automatically create links for channels and usernames in I(msg).
-
#msg ⇒ String?
Message to send.
-
#parse ⇒ :full, ...
Setting for the message parser at Slack.
-
#token ⇒ String
Slack integration token.
-
#username ⇒ String?
This is the sender of the message.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#attachments ⇒ Array<Hash>, ...
54 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 54 attribute :attachments |
#channel ⇒ String?
23 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 23 attribute :channel |
#color ⇒ :normal, ...
50 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 50 attribute :color |
#domain ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 12 attribute :domain |
#icon_emoji ⇒ Object?
35 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 35 attribute :icon_emoji |
#icon_url ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 31 attribute :icon_url |
#link_names ⇒ 1, ...
38 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 38 attribute :link_names |
#msg ⇒ String?
19 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 19 attribute :msg |
#parse ⇒ :full, ...
42 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 42 attribute :parse |
#token ⇒ String
15 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 15 attribute :token |
#username ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 27 attribute :username |
#validate_certs ⇒ :yes, ...
46 |
# File 'lib/ansible/ruby/modules/generated/notification/slack.rb', line 46 attribute :validate_certs |