Ok, Sorry for my english…but I unnderstand sqlcmd is for sql server not mysql, try use command with mysql -h and use script sql to create
Enviado desde mi iPhone > El 30-06-2022, a la(s) 14:17, Adurota Gideon <[email protected]> > escribió: > > Hello, > So I am new to ansible and I have been looking for a way to create a user on > mssql database using ansible but I can't seem to find a module for that. What > I saw is more for MySql db. > - name: Create DB user with name 'bob' and password '12345' with all database > privileges > mysql_user: > name: bob > password: 12345 > priv: '*.*:ALL' > state: present > Even the above looks like the user will be created on the server not the DB > > I have explored using SQLCMD but haven't found anything concrete on that as > well. > > Any help is appreciated > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/df19f1ca-2526-4a45-a967-79b7f38cea78n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/D1FB71AB-BE37-464F-88FD-0A5D3CC5F4BE%40gmail.com.
