commit | 671e57053afddbb7b64cd52a25db4e1c9e4aeca3 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Thu Jul 07 21:48:18 2016 -0400 |
committer | Andy Bavier <andy@onlab.us> | Thu Jul 07 21:48:18 2016 -0400 |
tree | e57487a76458df26313cc6fdd27f97765be5a2dd | |
parent | 1b8a537ae06c7a21d23930d21de782d4599ae2f2 [diff] |
Make testclient creation idempotent Change-Id: I55b4731b40abaf37b68a1642569929407f5ed19e
diff --git a/roles/test-client-install/files/test-client-playbook.yml b/roles/test-client-install/files/test-client-playbook.yml index ab17491..fa13250 100644 --- a/roles/test-client-install/files/test-client-playbook.yml +++ b/roles/test-client-install/files/test-client-playbook.yml
@@ -22,5 +22,4 @@ - name: Create testclient become: yes - command: lxc-create -t ubuntu -n testclient - + shell: lxc-ls | grep testclient || lxc-create -t ubuntu -n testclient