Few questions: Help please

10 views
Skip to first unread message

sreenivas narayan

unread,
Jan 18, 2016, 8:26:17 AM1/18/16
to Ansible Project
Hello Guys,

I have been working on  an automation project. There are certain areas where I stuck.

1. How to take  mysql_db dump with following options. Currently I am using command module.

--skip-lock-tables --single-transaction --flush-logs --hex-blob --master-data=2 -A  --result-file={{ mysql_dump_location }

2. I have 2 hosts  A and B. A has 2 roles and B has 3 roles. How to execute an intermediate role  in A after playing the 2nd role in B. 


3. If I have a file with some content and I want to append it to another file (like as cat A >> b). 

Thanks  
Reply all
Reply to author
Forward
0 new messages