Skip to content

Refocus project on pure server migration#1

Closed
adrian207 wants to merge 3 commits intomasterfrom
codex/create-pure-server-migration-solution
Closed

Refocus project on pure server migration#1
adrian207 wants to merge 3 commits intomasterfrom
codex/create-pure-server-migration-solution

Conversation

@adrian207
Copy link
Copy Markdown
Owner

Summary

  • replace the Active Directory oriented documentation with a server-migration focussed overview, architecture, operations, and infrastructure guide
  • rebuild the Ansible automation into server discovery, replication, cutover, validation, and rollback roles with updated playbooks, inventory, and AWX templates
  • rework Terraform examples and helper scripts into multi-cloud landing zones and add a lean validation-oriented test suite

Testing

  • not run (not requested)

https://chatgpt.com/codex/tasks/task_e_68fbd8a981dc832584c171afa7457463

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +44 to +48
- name: Store replication log
ansible.builtin.copy:
dest: "{{ artifacts_base }}/replication/{{ replication_wave }}-{{ inventory_hostname }}.log"
content: |
{{ (rsync_result.stdout if rsync_result is defined else '') + (robocopy_result.stdout if robocopy_result is defined else '') }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Copy replication logs using loop results instead of nonexistent stdout

The rsync/robocopy tasks register their results while looping over replication_sources, so the registered dictionaries only expose results[*].stdout and do not have a top-level stdout. The final "Store replication log" task concatenates rsync_result.stdout and robocopy_result.stdout, which raises 'dict object' has no attribute 'stdout' the first time replication runs and the copy task executes. This breaks the playbook even though the replication itself may have succeeded. Build the log content from rsync_result.results and robocopy_result.results (e.g. joining each item’s stdout) before writing the file.

Useful? React with 👍 / 👎.

@adrian207 adrian207 closed this Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant