-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
135 changed files
with
510 additions
and
1,096 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
[defaults] | ||
ansible_python_interpreter = python | ||
|
||
remote_user = root | ||
host_key_checking = no | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,2 @@ | ||
allow_duplicates: no | ||
dependencies: [] | ||
|
||
galaxy_info: | ||
author: Filip Sobalski <[email protected]> | ||
description: A collection of ansible plugins | ||
company: creativestyle Polska | ||
license: license (BSD, MIT) | ||
min_ansible_version: 2.7 | ||
galaxy_tags: | ||
- plugins | ||
- filters | ||
- filter_plugins | ||
- ansible | ||
- meta | ||
- library | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
- name: Make sure pip aws is not installed | ||
pip: | ||
name: awscli | ||
state: absent | ||
# - name: Make sure pip aws is not installed | ||
# pip: | ||
# name: awscli | ||
# state: absent | ||
|
||
- name: Install awscli | ||
yum: | ||
dnf: | ||
name: awscli | ||
enablerepo: mageops | ||
state: latest | ||
|
||
- name: Ensure default AWS Region is set | ||
ini_file: | ||
path: /root/.aws/credentials | ||
section: default | ||
option: region | ||
value: "{{ aws_region }}" | ||
value: "{{ aws_region }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
- name: Install AWS Cloudwatch Agent | ||
yum: | ||
dnf: | ||
name: "{{ aws_cloudwatch_agent_package }}" | ||
state: latest | ||
|
4 changes: 2 additions & 2 deletions
4
roles/cs.aws-logs/tasks/004-setup-magento-crash-report-handler.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
- name: Install AWS Exception Forwarder package | ||
yum: | ||
dnf: | ||
name: "{{ aws_cloudwatch_exception_forwarder_package }}" | ||
|
||
- name: Set up magento exception report pushing cronjob | ||
cron: | ||
name: "Push magento exception reports to CloudWatch Logs" | ||
minute: "*/2" | ||
job: "/bin/aws-excfwd push:directory -v --formatter=serialized_array --region={{ aws_region }} --group=/{{ mageops_project }}/{{ mageops_environment }}/magento/report {{ aws_logs_project_root }}/var/report/ --stream={{ aws_logs_stream_name }}" | ||
job: "/bin/aws-excfwd push:directory -v --formatter=serialized_array --region={{ aws_region }} --group=/{{ mageops_project }}/{{ mageops_environment }}/magento/report {{ aws_logs_project_root }}/var/report/ --stream={{ aws_logs_stream_name }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.