kayobe/ansible
Mark Goddard 68fc8d3057 Make kayobe ansible user bootstrap optional
The bootstrap user may be used to create the kayobe user account and
configure passwordless sudo. We can't assume that the bootstrap user
account will exist after the initial bootstrapping, or that the current
operator's key is authorised for the bootstrap user. We therefore
attempt to access the kayobe user account via SSH, and only perform the
bootstrap process if the account is inaccessible.

This change also adds some tasks to verify that the kayobe ansible user
is accessible and has passwordless sudo configured.

Change-Id: Ibdab0053caa2db71df2fd03cc8a598ae5aac73c9
Story: 2001659
Task: 6692
2018-05-04 16:35:09 +01:00
..
filter_plugins Pass MTU configuration to seed VM's configdrive 2018-01-16 19:36:49 +00:00
group_vars Merge "Add support for deploying Zookeeper" 2018-03-16 14:14:42 +00:00
roles Add CI job for molecule tests 2018-04-10 12:28:27 +01:00
test_plugins Add a command to check network connectivity between hosts 2017-11-02 12:12:07 +00:00
baremetal-compute-inspect.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
baremetal-compute-manage.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
baremetal-compute-provide.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
bootstrap.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
cadvisor.yml roles/cadvisor: Added. 2018-01-23 12:25:20 +00:00
ceph-block-devices.yml add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
compute-node-discovery.yml Fix compute-node-discovery.yml - missing register 2017-12-20 10:22:07 +00:00
compute-node-flavors.yml Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
compute-node-provide.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
container-image-build.yml Don't specify a docker registry when kolla_docker_registry is defined but None 2017-11-21 17:51:07 +00:00
container-image-builders-check.yml Add an ansible group for container image builders 2017-11-21 17:50:32 +00:00
dell-compute-node-boot-mode.yml Fix dell playbook inclusion 2017-11-17 12:06:22 +00:00
dell-compute-node-discovery.yml Create a baremetal-compute group for baremetal compute nodes 2017-11-12 09:35:40 +00:00
dell-compute-node-inventory.yml Remove config-mgmt group, instead use localhost 2017-12-01 11:21:00 +00:00
dell-switch-bmp.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
dev-tools.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
disable-cloud-init.yml Don't restart cloud-init when disabling it 2018-03-20 10:43:02 +00:00
disable-glean.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
disable-selinux.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
docker-registry.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
docker.yml User correct prefix for docker upper constraints variable 2018-02-22 14:05:23 +00:00
drac-bios.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-boot-order.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-facts.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
dump-config.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
external-net.yml Support multiple external networks 2017-12-01 11:21:00 +00:00
idrac-bootstrap-one.yml Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
idrac-bootstrap.yml Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
inspection-store.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
ip-allocation.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
ip-routing.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
kayobe-ansible-user.yml Make kayobe ansible user bootstrap optional 2018-05-04 16:35:09 +01:00
kayobe-target-venv.yml Install pip when not using a kayobe target virtualenv 2018-01-16 19:36:49 +00:00
kolla-ansible.yml Support copying TLS cert bundles into place 2018-03-16 12:12:05 +00:00
kolla-bifrost-hostvars.yml Specify MTU in bifrost configdrive network_data.json 2018-03-14 16:56:14 +00:00
kolla-bifrost.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
kolla-build.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
kolla-host.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
kolla-openstack.yml Add support for deploying Zookeeper 2018-03-13 16:58:12 +00:00
kolla-target-venv.yml Support upper constraints for kolla target virtual environment 2018-02-26 16:41:57 +00:00
lvm.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
network-connectivity.yml Add a command to check network connectivity between hosts 2017-11-02 12:12:07 +00:00
network.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
node-exporter.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
ntp.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
opensm.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-bios-raid.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-deprovision.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-docker-sdk-upgrade.yml Don't specify -c flag to pip if no upper constraints 2018-02-22 14:59:55 +00:00
overcloud-etc-hosts-fixup.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-extras.yml roles/cadvisor: Added. 2018-01-23 12:25:20 +00:00
overcloud-grafana-configure.yml Address review comments 2018-02-20 13:27:25 +00:00
overcloud-hardware-inspect.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-host-image-workaround-resolv.yml Workaround issue in CentOS cloud images with resolv.conf 2018-01-16 19:36:36 +00:00
overcloud-introspection-data-save.yml Add command to save overcloud introspection data 2017-08-22 18:35:47 +00:00
overcloud-introspection-rules-dell-lldp-workaround.yml Fix use of tags with overcloud post configure 2018-03-13 11:32:26 +00:00
overcloud-introspection-rules.yml Fix use of tags with overcloud post configure 2018-03-13 11:32:26 +00:00
overcloud-inventory-discover.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-ipa-build.yml Fix use of tags with overcloud post configure 2018-03-13 11:32:26 +00:00
overcloud-ipa-images.yml Fix use of tags with overcloud post configure 2018-03-13 11:32:26 +00:00
overcloud-provision.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
overcloud-service-config-save.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
physical-network.yml Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
provision-net.yml Fix use of tags with overcloud post configure 2018-03-13 11:32:26 +00:00
public-openrc.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
seed-hypervisor-libvirt-host.yml Merge pull request #91 from stackhpc/libvirt-galaxy 2018-01-02 12:59:23 +00:00
seed-introspection-rules.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
seed-ipa-build.yml Fix copy image ipa on seed 2018-01-08 15:16:02 +00:00
seed-vm-deprovision.yml Move libvirt-host and libvirt-vm to Ansible Galaxy roles 2017-12-05 15:59:21 +00:00
seed-vm-provision.yml Move libvirt-host and libvirt-vm to Ansible Galaxy roles 2017-12-05 15:59:21 +00:00
snat.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
ssh-known-host.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
swift-setup.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
sysctl.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
test-image-centos-cloud.yml Use virtualenv_path for all virtualenvs 2017-08-07 12:08:08 +00:00
test-image.yml Use virtualenv_path for all virtualenvs 2017-08-07 12:08:08 +00:00
test-keypair.yml Use virtualenv_path for all virtualenvs 2017-08-07 12:08:08 +00:00
test-project.yml Fix ansible warnings for when clauses with curly braces 2017-10-20 12:14:35 +01:00
users.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
wipe-disks.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
yum.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00