From 3d892c769636cbf00e33f4b4cb85cdf16bc07d2a Mon Sep 17 00:00:00 2001 From: Bryan Black Date: Thu, 27 Oct 2022 18:45:54 -0700 Subject: [PATCH] add evm-tools playbook, inventory and config --- ansible/ansible.cfg | 12 ++++++++++++ {inventory => ansible/inventory}/hosts | 2 +- ansible/plays/evm-tools.yml | 7 +++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ansible/ansible.cfg rename {inventory => ansible/inventory}/hosts (62%) create mode 100644 ansible/plays/evm-tools.yml diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg new file mode 100644 index 0000000..3ae14af --- /dev/null +++ b/ansible/ansible.cfg @@ -0,0 +1,12 @@ +[defaults] + +# some basic default values... + +interpreter_python = auto +inventory = ./inventory/ +roles_path = ./roles/ +stdout_callback = default + +#[ssh_connection] +#ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r -o ForwardAgent=yes + diff --git a/inventory/hosts b/ansible/inventory/hosts similarity index 62% rename from inventory/hosts rename to ansible/inventory/hosts index 1e4ad7d..e6849b8 100644 --- a/inventory/hosts +++ b/ansible/inventory/hosts @@ -2,4 +2,4 @@ 127.0.0.1 ansible_connection=local [vagrant] -192.168.1.10 +10.0.0.159:3322 ansible_user=ziion diff --git a/ansible/plays/evm-tools.yml b/ansible/plays/evm-tools.yml new file mode 100644 index 0000000..2e35954 --- /dev/null +++ b/ansible/plays/evm-tools.yml @@ -0,0 +1,7 @@ +--- +- hosts: vagrant + vars: + roles: + - common + - truffle +