-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add support for windows * remove todo * fix package url * add note about winrm * update repo paths for bindplane-agent * remove product id
- Loading branch information
Showing
7 changed files
with
58 additions
and
7 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
- name: Install MSI package | ||
ansible.windows.win_package: | ||
path: "{{ windows_package_url }}" | ||
# Install without opamp. OpAMP will be configured when the manager | ||
# configuration is deployed. | ||
arguments: | ||
- /quiet | ||
- ENABLEMANAGEMENT=0 | ||
wait_for_children: true | ||
state: present | ||
|
||
- name: Check if manager configuration exists | ||
win_stat: | ||
path: "{{ windows_manager_path }}" | ||
register: manager | ||
|
||
# Deploy initial manager configuration if it does not exist. BindPlane | ||
# will push updates to the manager configuration, therefor Ansible | ||
# cannot maintain it's state. | ||
- name: Create initial manager configuration | ||
when: manager.stat.exists == False | ||
template: | ||
src: "manager.yaml.tmpl" | ||
dest: "{{ windows_manager_path }}" | ||
mode: 0640 | ||
notify: "restart windows service" |
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,2 +1,3 @@ | ||
--- | ||
manager_path: /opt/observiq-otel-collector/manager.yaml | ||
linux_manager_path: "/opt/observiq-otel-collector/manager.yaml" | ||
windows_manager_path: "C:/Program Files/observIQ OpenTelemetry Collector/manager.yaml" |