bifrost/playbooks
Markos Chandras 60b9a9917e playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts
If /etc/hosts is not properly configured for localhost, then mysql will
fail with the following error:

Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Creating MySQL privilege database...
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Neither host 'vagrant-openSUSE-Leap' nor 'localhost' could be looked up with
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: '/usr/bin/resolveip'
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: Please configure the 'hostname' command to return a correct
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: hostname.
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: If you want to solve this at a later stage, restart this script
Aug 31 16:06:43 vagrant-openSUSE-Leap mysql-systemd-helper[20301]: with the --force option
Aug 31 16:06:43 vagrant-openSUSE-Leap systemd[1]: mysql.service: Control process exited, code=exited status=1
Aug 31 16:06:43 vagrant-openSUSE-Leap systemd[1]: Failed to start MySQL server.

As such, we need to ensure that /etc/hosts is configured before starting
the mysql service.

Change-Id: I5f1151ab86b6190cf2310bd7fade5290d88abc1e
2017-08-31 18:30:48 +01:00
..
inventory Removing ssh driver references 2017-08-11 09:05:46 +00:00
library Allows to setup more than one nameserver 2017-07-17 09:48:25 +02:00
roles playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts 2017-08-31 18:30:48 +01:00
cleanup-deployment-images.yaml Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
deploy-dynamic.yaml Allow deploy-dynamic on remote host 2017-02-07 19:07:56 +00:00
enroll-dynamic.yaml Allow enroll-dynamic on remote host 2017-02-01 15:01:31 +00:00
example-deploy-all-available-nodes.yaml Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
install.yaml Enable usage of no_proxy on install 2017-08-11 17:35:10 +08:00
redeploy-dynamic.yaml Add redeploy-dynamic playbook 2016-06-08 12:59:28 +00:00
test-bifrost-create-vm.yaml Use JSON baremetal data in testing 2017-03-06 17:06:30 +02:00
test-bifrost.yaml Provide default for test-bifrost.yaml for clouds.yaml 2017-06-06 12:33:35 +00:00