Skip to content

Conversation

@Qwinci
Copy link

@Qwinci Qwinci commented Mar 14, 2025

Use production host from the inventory with a different hostname <hostname>.prod when syncing to avoid dns/Ansible issues where the files would be synced from the target machine instead of the production machine. This requires that the production ip's are specified in the inventory under the .prod hostname with ansible_host and possibly the user with ansible_user if running against Vagrant VM where the used user doesn't match the one used on the production machine.
This should be merged at around the same time with the corresponding mysql sync change and possibly inventory changes.

Use production host from the inventory with a different hostname
`<hostname>.prod` when syncing to avoid dns/Ansible
issues where the files would be synced from the target machine instead of the
production machine. This requires that the production ip's are specified
in the inventory under the .prod hostname with `ansible_host` and possibly
the user with `ansible_user` if running against Vagrant VM where the used user
doesn't match the one used on the production machine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant