revert to waiting...

This commit is contained in:
Pim Kunis 2023-03-13 21:52:35 +01:00
parent ccfa6a295c
commit f6211eec7c
4 changed files with 4 additions and 20 deletions

View file

@ -4,7 +4,7 @@
tasks: tasks:
- name: Wait for cloud init to finish - name: Wait for cloud init to finish
pause: pause:
minutes: 2 seconds: 120
- name: Update repositories - name: Update repositories
apt: apt:
autoremove: true autoremove: true

View file

@ -14,10 +14,3 @@ packages:
- dnsmasq - dnsmasq
package_update: true package_update: true
package_upgrade: true package_upgrade: true
package_reboot_if_required: true
ansible:
install_method: pip
pull:
url: "https://gitlab.com/pizzapim/dmz-dns-vm.git"
playbook_name: local.yml
accept_host_key: true

View file

@ -1,9 +0,0 @@
- hosts: localhost
connection: local
tasks:
- name: ensure file exists
copy:
content: ""
dest: ~/testje.txt
force: false

View file

@ -50,7 +50,7 @@ resource "libvirt_domain" "ubuntu" {
cloudinit = libvirt_cloudinit_disk.cloudinit.id cloudinit = libvirt_cloudinit_disk.cloudinit.id
#provisioner "local-exec" { provisioner "local-exec" {
# command = "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -T 60 -u root -i inventory ansible.yml" command = "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -T 60 -u root -i inventory ansible.yml"
#} }
} }