Skip to content
Snippets Groups Projects
Commit 78d971ea authored by jurgenhaas's avatar jurgenhaas
Browse files

Execute shell command on target host

parent 53425a92
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
sudo: no
tasks:
- name: "Copy Database to Target"
local_action: shell scp {{ sourcehost }}:/tmp/{{ dbname }}.sql /tmp/{{ dbname }}.sql
shell: scp {{ sourcehost }}:/tmp/{{ dbname }}.sql /tmp/{{ dbname }}.sql
- name: "Remove Database"
mysql_db:
login_host=127.0.0.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment