-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features: * Upgrade to fluent-bit `3.1.2` for all distros * Enable amzn2023 arm64 Minor fixes: * Fix windows fluentbit download url * Sync centos7 mirrors * Wait before provisioning (non-trivial user_data script takes a while) * Use maintained fork (with updated crowdstrike hashes)
- Loading branch information
1 parent
328e844
commit 1c5053d
Showing
7 changed files
with
62 additions
and
39 deletions.
There are no files selected for viewing
42 changes: 26 additions & 16 deletions
42
ansible/provision-and-execute-tests/playbook-provision-prerelease.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
42 changes: 26 additions & 16 deletions
42
ansible/provision-and-execute-tests/playbook-provision-repo.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,19 +1,29 @@ | ||
- name: (linux) (production/staging) Install CrowdStrike Falcon and NRIA | ||
hosts: linux | ||
become: true | ||
gather_facts: yes | ||
vars: | ||
# install_crowdstrike_falcon role vars | ||
falcon_client_id: "{{ lookup('env', 'CROWDSTRIKE_CLIENT_ID') }}" | ||
falcon_client_secret: "{{ lookup('env', 'CROWDSTRIKE_CLIENT_SECRET') }}" | ||
falcon_customer_id: "{{ lookup('env', 'CROWDSTRIKE_CUSTOMER_ID') }}" | ||
api_base_url: "https://api.laggar.gcw.crowdstrike.com" | ||
# newrelic_cli role vars | ||
repo_endpoint: "{{ lookup('ansible.builtin.env', 'NRIA_REPO_ENDPOINT') }}" | ||
recipe: "newrelic-infra" | ||
region: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_REGION') }}" # US | EU | STAGING | ||
nr_api_key: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_API_KEY') }}" | ||
nr_account_id: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_ACCOUNT_ID') }}" | ||
roles: | ||
- caos.ansible_roles.install_crowdstrike_falcon | ||
- caos.ansible_roles.newrelic_cli | ||
gather_facts: no | ||
tasks: | ||
- name: Wait for connection to be available | ||
wait_for_connection: | ||
|
||
- name: Gather facts for first time | ||
ansible.builtin.setup: | ||
|
||
- name: Install crowdstrike falcon | ||
ansible.builtin.include_role: | ||
name: caos.ansible_roles.install_crowdstrike_falcon | ||
vars: | ||
falcon_client_id: "{{ lookup('env', 'CROWDSTRIKE_CLIENT_ID') }}" | ||
falcon_client_secret: "{{ lookup('env', 'CROWDSTRIKE_CLIENT_SECRET') }}" | ||
falcon_customer_id: "{{ lookup('env', 'CROWDSTRIKE_CUSTOMER_ID') }}" | ||
api_base_url: "https://api.laggar.gcw.crowdstrike.com" | ||
|
||
- name: Install newrelic-infra agent | ||
ansible.builtin.include_role: | ||
name: caos.ansible_roles.newrelic_cli | ||
vars: | ||
repo_endpoint: "{{ lookup('ansible.builtin.env', 'NRIA_REPO_ENDPOINT') }}" | ||
recipe: "newrelic-infra" | ||
region: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_REGION') }}" # US | EU | STAGING | ||
nr_api_key: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_API_KEY') }}" | ||
nr_account_id: "{{ lookup('ansible.builtin.env', 'NEW_RELIC_ACCOUNT_ID') }}" |
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
5 changes: 5 additions & 0 deletions
5
terraform/ec2-instances-creator/user_data_script_for_ssm.tftpl
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