From f6eb3f24103beed775b8e562cea783616cf543f7 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 7 Feb 2017 23:23:43 +0000 Subject: [PATCH] expand instructions for running the demo Signed-off-by: Doug Hellmann --- .gitignore | 1 + demo/README.rst | 19 +++++++++++++++++++ demo/export/.placeholder | 0 demo/tiny-resources.yml | 3 +++ 4 files changed, 23 insertions(+) create mode 100644 demo/export/.placeholder create mode 100644 demo/tiny-resources.yml diff --git a/.gitignore b/.gitignore index b709545..b664683 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ releasenotes/build /demo/keys /demo/*.retry /demo/venv +/demo/export/* diff --git a/demo/README.rst b/demo/README.rst index 3ae1c21..c007f70 100644 --- a/demo/README.rst +++ b/demo/README.rst @@ -23,3 +23,22 @@ Using :: $ pip install -r requirements.txt + +3. Run the playbook. + + :: + + $ ansible-playbook tiny.yml + +4. Deactivate the virtualenv or start a new shell. +5. Move to the parent directory. + + :: + + $ cd .. + +6. Run ``downpour``, using tox to set up a python 3.5 virtualenv. + + :: + + $ tox -e venv -- downpour export demo/tiny-resources.yml demo/export diff --git a/demo/export/.placeholder b/demo/export/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/demo/tiny-resources.yml b/demo/tiny-resources.yml new file mode 100644 index 0000000..4ecba30 --- /dev/null +++ b/demo/tiny-resources.yml @@ -0,0 +1,3 @@ +# Resource file for downpour using the instance created in tiny.yml. +servers: + - name: downpour-demo-tiny