add hashicorp packer tool
This commit is contained in:
parent
01e607bcbb
commit
c895037e69
@ -3,6 +3,3 @@ inventory=./inventory
|
||||
remote_user="ansible"
|
||||
roles_path=./roles
|
||||
collections_path=./collections
|
||||
|
||||
[inventory]
|
||||
enable_plugins = community.general.proxmox, yaml
|
||||
|
@ -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
|
||||
|
@ -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:
|
Loading…
Reference in New Issue
Block a user