add hashicorp packer tool
This commit is contained in:
parent
01e607bcbb
commit
c895037e69
@ -3,6 +3,3 @@ inventory=./inventory
|
|||||||
remote_user="ansible"
|
remote_user="ansible"
|
||||||
roles_path=./roles
|
roles_path=./roles
|
||||||
collections_path=./collections
|
collections_path=./collections
|
||||||
|
|
||||||
[inventory]
|
|
||||||
enable_plugins = community.general.proxmox, yaml
|
|
||||||
|
@ -5,7 +5,7 @@ localhost
|
|||||||
192.168.2.236
|
192.168.2.236
|
||||||
|
|
||||||
[docker]
|
[docker]
|
||||||
192.168.1.236 ansible_user=ansible
|
node1 ansible_user=ansible
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
aws ansible_user=ubuntu
|
aws ansible_user=ubuntu
|
||||||
@ -13,8 +13,11 @@ aws ansible_user=ubuntu
|
|||||||
[helm]
|
[helm]
|
||||||
node1 ansible_user=ansible
|
node1 ansible_user=ansible
|
||||||
|
|
||||||
|
[terraform]
|
||||||
|
node1
|
||||||
|
|
||||||
[dhcp]
|
[dhcp]
|
||||||
192.168.2.191
|
nodex
|
||||||
|
|
||||||
[doc]
|
[doc]
|
||||||
doc ansible_user=pollen
|
doc ansible_user=pollen
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: install terraform on deb/rpm family
|
- name: install terraform on deb/rpm family
|
||||||
hosts: docker
|
hosts: terraform
|
||||||
become: yes
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: update cache on debian/rpm family
|
- name: update cache on debian/rpm family
|
||||||
@ -40,6 +40,7 @@
|
|||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
pkg:
|
pkg:
|
||||||
- terraform
|
- terraform
|
||||||
|
- packer
|
||||||
|
|
||||||
- name: verify terraform works
|
- name: verify terraform works
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
Loading…
Reference in New Issue
Block a user