Describe a scenario where you used Python or shell scripting to automate a complex, repetitive system administration or deployment task.