Stop the Duplicate Config

Replace shell append/mkdir/chmod with real modules so the play converges.

A beginner Ansible challenge worth 3 points. Solve it hands-on in a real Ansible environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: Ticket OPS-1188 - every deploy appends the same settings again, and config.ini now has six duplicate lines. The play uses shell: mkdir, shell: chmod and echo >>.

Rewrite site.yml so ~/srv/checkout is mode 0750 and config.ini (0644) contains exactly listen_port = 8080 and worker_count = 4 - once. A second run must report changed=0. Then run check.