antoniobarbaro.slacktee

Role Name

Install Slacktee

Requirements

None

Role Variables

  • slacktee_webhook_url: This is the URL for incoming webhooks. Check it out at https://my.slack.com/services/new/incoming-webhook. Example: 'https://hooks.slack.com/services/T70xxxxx'
  • slacktee_upload_token: This is the API token for user authentication, used only for uploading files. For more info, see https://api.slack.com/#auth
  • slacktee_channel: This is the default channel where messages will be posted. It automatically adds '#' if your channel name doesn't start with '#' or '@'. Example: 'mychannel'
  • slacktee_tmp_dir: This is the directory where temporary files will be created. Example: '/tmp'
  • slacktee_username: This is the username under which temporary files will be created. Example: 'slacktee'
  • slacktee_icon: This is the default emoji or a direct URL to an image used when posting messages. You don’t need to put emoji in colons (:). For emoji options, visit http://www.emoji-cheat-sheet.com. Example: 'ghost'
  • slacktee_attachment: This sets the default color for attachments. If left empty, no attachments will be used. Example: ''
  • slacktee_test_message_enabled: This option allows you to send a test message to Slack after installing Slacktee. Example: yes
  • slacktee_test_message: This is the text for the test message. Example: 'Ansible Slacktee installed!'

Dependencies

None

Example Playbook

- hosts: servers
  vars:
    slacktee_webhook_url: 'https://hooks.slack.com/services/T7058xxxx'    
    slacktee_channel: 'mychannel'    
  roles:
     - slacktee

License

BSD

Author Information

Antonio Barbaro antonio.barbaro@gmail.com

Informazioni sul progetto

Install slacktee

Installa
ansible-galaxy install antoniobarbaro.slacktee
Licenza
Unknown
Download
133
Proprietario