lilouzi
lilouzi

Reputation: 71

execute SQL commands (SQL Server) from a playbook using the Shell module

This is my first experience in ansible. I would like to create a yaml playbook in order to execute commands on an SQL server (Linux) and using the Shell module. I did not find tutorials or examples on the internet. Could you please help me (with hints or links to tutorials)?

thank you

Upvotes: 0

Views: 1137

Answers (1)

navarq
navarq

Reputation: 1345

The following is a good place to start:

Execute shell commands on targets

Learning shell scripting is a large topic I recommend the book: Steve Parker, (2011) Shell Scripting: Expert Recipes for Linux, Bash and more. ISBN-13:978-1118024485

Upvotes: 1

Related Questions