Installs and configures AWS CloudWatch Logs agent.
Ansible 2.0, pip
These variables are not set in this role, but can be used:
-
name: awslogs_access_key_id desc: aws access_key_id to stream the log
-
name: awslogs_secret_access_key desc: aws secret_access_key to stream the log
See defaults/main.yml
- shared/pip
- hosts: servers
vars:
awslogs_access_key_id: "youraccesskey"
awslogs_secret_access_key: "yoursecretkey"
roles:
- shared/awslogs
MIT