blob: cf4bd5de6a18748e0cdb34f1c7d2921514356922 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
- given: a host running Debian
impl:
python:
function: create_vm
cleanup: destroy_vm
- then: I can run /bin/true on the host
impl:
python:
function: run_true_on_host
- when: I use role {role}
impl:
python:
function: use_role_in_playbook
- when: I use variables from {filename}
impl:
python:
function: set_vars_file
- when: I run the playbook
impl:
python:
function: run_playbook
- when: I try to run the playbook
impl:
python:
function: try_playbook
- then: the command fails
impl:
python:
function: command_fails
- then: stdout contains "{text:text}"
impl:
python:
function: xstdout_contains
|