17 Commits

Author SHA1 Message Date
Sreejith Punnapuzha
6efee27b0c [#106] Add docker install role
This PS adds role which installs docker

Change-Id: Icf8e33f36dfc72327255b9949f0efd9f5f5f8b55
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2020-03-23 14:05:06 -05:00
Kostiantyn Kalynovskyi
3b7fdd8f6b Change libvirt log owner. Fix rsync permission err
Change-Id: I6c25e71c22268f1e3b58f1e06907f073a33f09f7
2020-02-03 21:53:53 +00:00
Zuul
776b73b233 Merge "[AIR-72] Add role to sync repository" 2020-01-31 20:17:56 +00:00
Zuul
8c9691fb53 Merge "Minor role fixes" 2020-01-31 20:17:55 +00:00
Kostiantyn Kalynovskyi
b60bf53829 [AIR-225] Add log collection roles for zuul gating
These roles will allow to get logs and resource definitions from
remote host to zuul, will ease debugging process.

Change-Id: I1876ff59fc99d2a605a45e3ecc1abb46bac677a6
2020-01-29 00:04:57 +00:00
Kostiantyn Kalynovskyi
c8de187cad [AIR-72] Add role to sync repository
This role is only needed during local development, if developer is
using remote machine to deploy environment on. Role will copy local
repository to remote ansible host, his repository will be then used
to build airshipctl binary and to create bundle with airship docs

Change-Id: I742d89656830d02a8e998bbef6041a5b0231d132
2020-01-28 23:52:55 +00:00
Kostiantyn Kalynovskyi
493796b94c Minor role fixes
in this commit we are removing dhcp from the networks, fixing vnc
listen ip addresses, and console log output directories

Change-Id: I61a77baa343720583b1ebfb2e4519803f1f32676
2020-01-27 19:52:05 +00:00
Doug Aaser
f3cbed1d96 [AIR-209] Remove privilege escalation
This PS removes privilege escalation from the roles so that these roles
can be used in a developer environment

Change-Id: I44ddc18532ee75b0d398896d470ecf949ad4496a
2020-01-21 12:11:16 -05:00
Kostiantyn Kalynovskyi
c9e3feceae Add http-fileserver role
Role will allow to easily serve static content over http.
python simple http server wrapped into systemd unit

Change-Id: I7726b973ad77ab3a58819ff48033a74095ed3ea0
2020-01-20 18:24:03 +00:00
Kostiantyn Kalynovskyi
3f0f471ed3 [AIR-134] Add airship gate role
airship-libvirt-gate role is designed to build a fully functioning
all-in-one type infrastructure for development, testing or gating
purpose on top of libvirt + qemu. It has concept of `Flavor` which
would allow users to pick fingerprint (size of the env). In this
commit only flavor called `small` is introduced. In near future we
will add other flavors.

For default usecases please see examples/playbooks/gate directory.

Change-Id: Ifefd299592b91ce2810794eb29050874977397f2
2020-01-16 21:10:14 +00:00
Kostiantyn Kalynovskyi
cd8fa89488 Fix missing privilege escalation, redfish tests
Please note, in near future we will remove escalation where ever
we can to make sure that we can securely build not only gates
but also development environment

Change-Id: I38045b45607b519699b232b35dd5e1f48a88febc
2020-01-15 22:20:06 +00:00
Kostiantyn Kalynovskyi
0b84ef88e8 Correct conditional logic, libvirt-volume creation
Change-Id: I3941518ea8d0a971e15a208785a89812801e1a50
2020-01-15 22:06:20 +00:00
Kostiantyn Kalynovskyi
cdf95ec259 Type fix in variable naming, libvirt-network role
Change-Id: I5f9a0160be0bd795c0c8e4ddb0cbeca5f2677bcd
2020-01-15 20:56:16 +00:00
Kostiantyn Kalynovskyi
f3dbea4ccd Add libvirt-network role, libvirt-domain test
Change-Id: Ie8b607e308118c859e297c5b6b89a75ae0ed610b
2020-01-15 20:43:50 +00:00
Kostiantyn Kalynovskyi
68157859a7 Add ansible roles for sushy and libvirt
This commit adds simple roles to manage:
 - libvirt service, domains, volumes, networks and pools.
 - redfish-emulator role installs sushy-tools from pip, together
   with support packages
Please note, that libvirt roles are not meant to be completely
idempotent, their main job is deploy temporary resources that for
ci and gating purposes, to be tore down afterwards. Roles are
specifically made to be simple to debug, and don't contain any
complex logic to make them portable, flexible or idempotent.

Change-Id: I2ff0138b5c95bea3445e242a2e5061651498f1ab
2020-01-13 23:08:11 +00:00
Kostiantyn Kalynovskyi
05b05b0c3e Initial commit with empty lint job
Change-Id: I7d81ad1faca6ce896b4d2caedcea15b1abd035ef
2020-01-09 22:10:10 +00:00
OpenDev Project Creator
917c848e62 Added .gitreview 2019-12-13 17:29:52 +00:00