Skip to content

Instantly share code, notes, and snippets.

@didib
didib / main.yml
Created May 25, 2021 06:52
Test add_host
---
- name: Add test1 as host block
block:
- name: Add test1 as host
add_host:
name: test1
ansible_connection: smart
ansible_ssh_extra_args: >-
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
ansible_ssh_pass: test1
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-6.2.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /home/ybardavi/git/ovirt-system-tests, configfile: pytest.ini
collecting ... collected 1 item
basic-suite-master/test-scenarios/test_003_01_dummy.py::test_dummy started at 2021-03-16 20:53:47
-------------------------------- live log setup --------------------------------
2021-03-16 20:53:53+0200,397 INFO [ost_utils.pytest.fixtures.check_repos] packages installed on lago-basic-suite-master-host-0:
{}
@didib
didib / grepgitvi.sh
Created December 5, 2019 08:00
grepgitvi
#!/bin/bash
# grepgitvi - grep source files, interactively open vim on results
# Doesn't really have to do much with git, other than ignoring .git
#
# Copyright Yedidyah Bar David 2019
#
# SPDX-License-Identifier: Apache-2.0
#
# Requires vim and rlwrap