IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
55 stars 52 forks source link

Integration Terraform with Ansible #97

Closed mad5bo closed 1 year ago

mad5bo commented 3 years ago

Hi,

Does Terraform provisioner "remote-exec" is compatible against Ansible controller on IBM i? I am trying an integration against Terraform with IBM i control node.

provisioner "remote-exec" {
    command = ["sleep 60; ansible-playbook -u qciuser --private-key ${var.ssh_keyname} -i ${openstack_compute_instance_v2.PowerVC-VM.*.network.0.fixed_ip_v4} ibmi-install-nodejs.yml"]
  }
LiJunBJZhu commented 2 years ago

I don't see there are any blockers. Please try it.

robgjertsen1 commented 1 year ago

Closing this out due to inactivity (and not an obvious reason it shouldn't work).