add hashicorp packer tool

This commit is contained in:
Ibrahim Mkusa 2024-11-15 15:56:04 -05:00
parent 01e607bcbb
commit c895037e69
3 changed files with 7 additions and 6 deletions

View File

@ -3,6 +3,3 @@ inventory=./inventory
remote_user="ansible"
roles_path=./roles
collections_path=./collections
[inventory]
enable_plugins = community.general.proxmox, yaml

View File

@ -5,7 +5,7 @@ localhost
192.168.2.236
[docker]
192.168.1.236 ansible_user=ansible
node1 ansible_user=ansible
[aws]
aws ansible_user=ubuntu
@ -13,8 +13,11 @@ aws ansible_user=ubuntu
[helm]
node1 ansible_user=ansible
[terraform]
node1
[dhcp]
192.168.2.191
nodex
[doc]
doc ansible_user=pollen

View File

@ -1,6 +1,6 @@
---
- name: install terraform on deb/rpm family
hosts: docker
hosts: terraform
become: yes
tasks:
- name: update cache on debian/rpm family
@ -40,6 +40,7 @@
ansible.builtin.apt:
pkg:
- terraform
- packer
- name: verify terraform works
ansible.builtin.command: