Interview Prep/Ansible/Security and Secrets

How should network segmentation and bastions be designed around Ansible?

IntermediateProductionSecurity and Secrets
Answer

Place the control node (or AWX execution nodes) in a management network with a narrow security group, allowing outbound SSH/WinRM only to managed subnets, and managed hosts only accept SSH from that source. For isolated networks, use a bastion with ProxyJump, or AAP automation mesh with receptor nodes inside the isolated segments so the controller never opens connections directly.

[private:vars]
ansible_ssh_common_args='-o [email protected]'

Avoid agent forwarding to a shared bastion. Keys on the bastion are a bigger risk than the jump itself.

All Ansible questions Roadmap: Ansible

More on Security and Secrets