Facebook
From cojack, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 192
  1. - name: Add ec2 host to inventory
  2.   add_host:
  3.     name: "{{ terraform_output.outputs.public_ip.value }}"
  4.     ansible_ssh_private_key_file: "{{ ssh_pem }}"
  5.     ansible_user: "{{ ssh_user }}"
  6.     groups: ec2hosts