tasks.md 751 B

1. Configure Python Interpreter Auto-Discovery

  • 1.1 Add ansible_python_interpreter: auto to group_vars/all.yml
  • 1.2 Add ansible_python_interpreter: auto to group_vars/all.yml.example

2. Add Python Bootstrap Play

  • 2.1 Add a new play at the top of site.yml that runs before all other plays, targeting all hosts with gather_facts: false and become: true, using the raw module to run apt-get update && apt-get install -y python3
  • 2.2 Verify the bootstrap play is ordered before the existing "Base server setup" play

3. Verification

  • 3.1 Run ansible-playbook site.yml --syntax-check to validate playbook syntax
  • 3.2 Run the playbook against relay-server and confirm fact gathering succeeds