Kevin Fenzi
b250b314d1
I wonder if you can now put variables in names like this
2017-10-09 02:18:50 +00:00
Kevin Fenzi
6b1fc4d83f
for initial installs use gathered ssh host key, then remove and use signed ones
2017-09-04 17:24:56 +00:00
Patrick Uiterwijk
208c557fc4
Do not clean or anything with known_hosts
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-15 18:13:41 +00:00
Kevin Fenzi
972c651295
fix up virt instance create autostart
2017-05-14 04:36:36 +00:00
Kevin Fenzi
6fbfacec8d
do not use true
2017-04-27 16:52:11 +00:00
Kevin Fenzi
f4365f7494
try and set things so we can force armv7 kernel updates
2017-04-27 16:50:29 +00:00
Ralph Bean
4d53011cf0
Apparently this changed in ansible-2.3 http://docs.ansible.com/ansible/virt_module.html
2017-04-25 20:34:54 +00:00
Ralph Bean
f5ba41e0db
Use the state value preferred by ansible here.
...
Ansible tells me:
value of state must be one of: running,shutdown,destroyed,paused, got: started
2017-04-25 19:38:39 +00:00
60d6de2eef
virt: adjust the pause for ARMv7
2017-04-17 22:09:50 +00:00
e7139d4ac7
virt: add a pause for ARMv7 virt installs
2017-04-17 21:57:40 +00:00
bb05921e7a
builders: ARMv7, make the kernel/initrd args more generic
2017-04-17 20:22:44 +00:00
502f4c4aaa
builders: armv7 VM: copy kernel only when VM is shutdown
2017-04-17 17:45:59 +00:00
16fe1f9c84
builder vm: add tag for armv7 kernel
2017-04-14 10:18:28 +00:00
ba1727b7dc
builders: ARMv7 tweak virt_boot cmdline
2017-04-13 20:02:19 +00:00
9aa70810b2
builders: ARMv7 virt_boot needs domain
2017-04-13 19:38:34 +00:00
b18c9881b6
builders: some ARMv7 bits need shell, not command
2017-04-13 19:17:57 +00:00
5bda47cc10
builders: some ARMv7 commands need quotes
2017-04-13 19:01:31 +00:00
a046a6f8e0
builders: some ARMv7 bits need delegate_to
2017-04-13 18:36:54 +00:00
b64f8d37d9
builders: initial pass at a ARMv7 virt builder
2017-04-13 17:58:50 +00:00
Kevin Fenzi
8a6e51a9a6
change state=running to start=started as the old one is going away in ansible 2.7
2017-04-13 01:37:21 +00:00
Kevin Fenzi
969bd77cf1
strike that, reverse it
2016-12-11 16:00:51 +00:00
Kevin Fenzi
059286e6d9
lets try and set serial one on lvm and virt-install starting
2016-12-11 15:58:40 +00:00
Kevin Fenzi
b1a2d105c9
In ansible 2.2 always_run is depreciated. Switch to check_mode.
2016-11-01 16:29:49 +00:00
Adam Miller
a9151f4cd2
add handling of host keys for osbs-control/osbs-cluster hosts
...
Signed-off-by: Adam Miller <admiller@redhat.com>
2016-10-25 19:13:19 +00:00
Kevin Fenzi
4cafc2bd37
Fix all tasks to not use old action: statements.
2016-01-06 21:25:10 +00:00
Kevin Fenzi
b62619e9d3
Duh. Need to quote this because it's multiline
2015-05-28 19:42:53 +00:00
Kevin Fenzi
5b77fe91d2
Try |string
2015-05-28 19:23:46 +00:00
Kevin Fenzi
c495f031d3
ok, lets try |str filter here.
2015-05-28 19:05:46 +00:00
Kevin Fenzi
aed8829f96
I'm sure it can't be this easy, but will try adding a join filter here.
2015-05-28 18:19:54 +00:00
Kevin Fenzi
6ba003e4ea
Need this local keyscan action to be a command.
2015-05-28 17:49:23 +00:00
Kevin Fenzi
c1bb97974b
This is an attempt to gather initial ssh_host_key from new vms when they are made.
...
This avoids having to accept the key manually and allows playbooks making new
instances to complete without human intervention.
(If it works as desired)
2015-05-28 17:35:25 +00:00
Kevin Fenzi
cb471507ea
Drop this known_hosts thing from virt_host_create for now, it has no where to look up the host key.
2015-05-05 21:48:06 +00:00
Kevin Fenzi
06621bffff
When installing a new vm remove old and add new ssh host keys
2015-04-22 14:41:48 +00:00
Kevin Fenzi
5ab781961a
Bump this timeout way up.
2014-07-19 23:41:52 +00:00
Kevin Fenzi
cd657f2794
Drop this too
2014-07-07 17:29:55 +00:00
Kevin Fenzi
3a52dc1ac4
ok, just do this for now.
2014-07-07 17:17:39 +00:00
Kevin Fenzi
430bdb591a
Revert "Revert "That doesn't work, lets try this.""
...
This reverts commit 362710ffa8
.
2014-07-07 17:11:56 +00:00
Kevin Fenzi
362710ffa8
Revert "That doesn't work, lets try this."
...
This reverts commit 0a33ecd4e3
.
2014-07-07 16:55:04 +00:00
Kevin Fenzi
0a33ecd4e3
That doesn't work, lets try this.
2014-07-07 16:44:36 +00:00
Kevin Fenzi
2123ca949c
Make virt-instance-create more clear on where it's doing things.
2014-07-07 16:41:09 +00:00
Kevin Fenzi
84212e5e66
Lets see if this is a bit cleaner and more ansibley
2014-07-03 16:37:35 +00:00
Kevin Fenzi
6a94cbdbc7
Set vms to autostart when installed. Tweak timeouts.
2014-06-27 20:08:54 +00:00
Kevin Fenzi
494ec1033e
See if this gets check mode happy with the libvirt call
2013-11-25 18:41:58 +00:00
Kevin Fenzi
f1d4e575f0
And of course it needs to be quoted.
2013-11-25 18:37:51 +00:00
Kevin Fenzi
1043af18d2
vhost is a variable too
2013-11-25 18:36:54 +00:00
Kevin Fenzi
5e6941493d
Update syntax
2013-11-25 18:33:35 +00:00
e175491fb7
remove repetition of virt_install_command
2013-06-12 17:01:31 +00:00
f803810449
make all the when_string be when
2013-06-11 16:46:07 +00:00
48a865fbc6
change a bunch of when_strings to when's and fix up variables
2013-06-11 16:29:13 +00:00
12eed2035c
make the lv be fqdn
2013-06-06 20:56:59 +00:00