'if self.dynamic_inventory:
cmd = \'ansible-playbook -c local -i inventory/hosts site.yml\'
else:
cmd = \'ansible-playbook -c local -i inventory site.yml\''

def run(self):

    cmd = 'ansible-playbook    -c    local    -i    inventory    site.yml'
    if ('extra_vars' in self.features):
        cmd += '    --extra-vars="findme=extra_vars"'
    cmd = (cmd + '    -vvvvv')
    self.ansible_command = cmd
    (rc, so, se) = run_command(cmd, cwd=TESTDIR)
    self.stdout = so
    if (rc != 0):
        raise Exception(("playbook    failed    (rc=%s),    stdout:    '%s'    stderr:    '%s'" % (rc, so, se)))
