-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollover alias script execution added #1110
Merged
Merged
Conversation
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
AlexRuiz7
approved these changes
Nov 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
davidcr01
approved these changes
Nov 10, 2023
New tests after changes: AIO: TASK [../roles/wazuh/wazuh-indexer : Initialize the Opensearch security index in Wazuh indexer] ********************************************************************************************************************************************
changed: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-indexer : Initialize ISM script] ********************************************************************************************************************************************************************************
changed: [testing_ansible_aio]
...
TASK [../roles/wazuh/wazuh-dashboard : Copy the certificates from local to the Wazuh dashboard instance] ***********************************************************************************************************************************
changed: [testing_ansible_aio] => (item=root-ca.pem)
changed: [testing_ansible_aio] => (item=node-1-key.pem)
changed: [testing_ansible_aio] => (item=node-1.pem)
TASK [../roles/wazuh/wazuh-dashboard : Copy Configuration File] ****************************************************************************************************************************************************************************
changed: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Ensuring Wazuh dashboard directory owner] ***********************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Wait for Wazuh-Indexer port] ************************************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Select correct API protocol] ************************************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Attempting to delete legacy Wazuh index if exists] **************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Create Wazuh Plugin config directory] ***************************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Configure Wazuh Dashboard Plugin] *******************************************************************************************************************************************************************
ok: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Configure opensearch.password in opensearch_dashboards.keystore] ************************************************************************************************************************************
changed: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Ensure Wazuh dashboard started and enabled] *********************************************************************************************************************************************************
changed: [testing_ansible_aio]
TASK [../roles/wazuh/wazuh-dashboard : Remove Wazuh dashboard repository (and clean up left-over metadata)] ********************************************************************************************************************************
skipping: [testing_ansible_aio]
RUNNING HANDLER [../roles/wazuh/ansible-filebeat-oss : restart filebeat] *******************************************************************************************************************************************************************
changed: [testing_ansible_aio]
RUNNING HANDLER [../roles/wazuh/wazuh-dashboard : restart wazuh-dashboard] *****************************************************************************************************************************************************************
changed: [testing_ansible_aio]
PLAY RECAP *********************************************************************************************************************************************************************************************************************************
testing_ansible_aio : ok=99 changed=33 unreachable=0 failed=0 skipped=86 rescued=0 ignored=0
|
Distributed test TASK [../roles/wazuh/wazuh-dashboard : Remove Dashboard configuration file] ****************************************************************************************************************************************************************
changed: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Ensure Dashboard certificates directory permissions.] ***********************************************************************************************************************************************
changed: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Copy the certificates from local to the Wazuh dashboard instance] ***********************************************************************************************************************************
changed: [dashboard] => (item=root-ca.pem)
changed: [dashboard] => (item=node-6-key.pem)
changed: [dashboard] => (item=node-6.pem)
TASK [../roles/wazuh/wazuh-dashboard : Copy Configuration File] ****************************************************************************************************************************************************************************
changed: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Ensuring Wazuh dashboard directory owner] ***********************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Wait for Wazuh-Indexer port] ************************************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Select correct API protocol] ************************************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Attempting to delete legacy Wazuh index if exists] **************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Create Wazuh Plugin config directory] ***************************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Configure Wazuh Dashboard Plugin] *******************************************************************************************************************************************************************
ok: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Configure opensearch.password in opensearch_dashboards.keystore] ************************************************************************************************************************************
changed: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Ensure Wazuh dashboard started and enabled] *********************************************************************************************************************************************************
changed: [dashboard]
TASK [../roles/wazuh/wazuh-dashboard : Remove Wazuh dashboard repository (and clean up left-over metadata)] ********************************************************************************************************************************
skipping: [dashboard]
RUNNING HANDLER [../roles/wazuh/wazuh-dashboard : restart wazuh-dashboard] *****************************************************************************************************************************************************************
changed: [dashboard]
PLAY RECAP *********************************************************************************************************************************************************************************************************************************
dashboard : ok=21 changed=8 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
manager : ok=45 changed=1 unreachable=0 failed=0 skipped=31 rescued=0 ignored=0
wi1 : ok=33 changed=11 unreachable=0 failed=0 skipped=50 rescued=0 ignored=0
wi2 : ok=29 changed=11 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0
wi3 : ok=29 changed=11 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0
worker : ok=42 changed=0 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0
inventory: wi1 ansible_host=44.213.71.65 private_ip=172.31.70.105 indexer_node_name=node-1 ansible_port=2250
wi2 ansible_host=18.207.134.63 private_ip=172.31.73.148 indexer_node_name=node-2 ansible_port=2250
wi3 ansible_host=34.204.166.11 private_ip=172.31.79.125 indexer_node_name=node-3 ansible_port=2250
dashboard ansible_host=3.238.244.223 private_ip=172.31.77.45 ansible_port=2250
manager ansible_host=3.238.248.173 private_ip=172.31.78.127 ansible_port=2250
worker ansible_host=3.236.109.185 private_ip=172.31.77.95 ansible_port=2250
[wi_cluster]
wi1
wi2
wi3
[all:vars]
ansible_ssh_user=ubuntu
ansible_ssh_private_key_file=/home/cbordon/Downloads/pr-828.pem
ansible_ssh_extra_args='-o StrictHostKeyChecking=no' |
c-bordon
approved these changes
Nov 13, 2023
vcerenu
approved these changes
Nov 14, 2023
davidcr01
approved these changes
Nov 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR closes #1109.