From 314aa649b39b2bbf02e997b14ee98ab47b63a945 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 4 Jul 2020 19:37:10 +0500 Subject: [PATCH] Improve project structure --- ansible.cfg | 2 +- {inventories/production/group_vars => group_vars}/all.yml | 0 .../host_vars => host_vars}/git.crypto-libertarian.com.yml | 0 .../host_vars => host_vars}/matrix.crypto-libertarian.com.yml | 0 .../host_vars => host_vars}/postgres.crypto-libertarian.com.yml | 0 inventories/production/hosts => hosts | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename {inventories/production/group_vars => group_vars}/all.yml (100%) rename {inventories/production/host_vars => host_vars}/git.crypto-libertarian.com.yml (100%) rename {inventories/production/host_vars => host_vars}/matrix.crypto-libertarian.com.yml (100%) rename {inventories/production/host_vars => host_vars}/postgres.crypto-libertarian.com.yml (100%) rename inventories/production/hosts => hosts (100%) diff --git a/ansible.cfg b/ansible.cfg index 8728514..b881f87 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,6 @@ [defaults] ask_vault_pass = true -inventory = inventories/production +inventory = hosts strategy = mitogen_linear strategy_plugins = vendor/mitogen-0.2.8/ansible_mitogen/plugins/strategy diff --git a/inventories/production/group_vars/all.yml b/group_vars/all.yml similarity index 100% rename from inventories/production/group_vars/all.yml rename to group_vars/all.yml diff --git a/inventories/production/host_vars/git.crypto-libertarian.com.yml b/host_vars/git.crypto-libertarian.com.yml similarity index 100% rename from inventories/production/host_vars/git.crypto-libertarian.com.yml rename to host_vars/git.crypto-libertarian.com.yml diff --git a/inventories/production/host_vars/matrix.crypto-libertarian.com.yml b/host_vars/matrix.crypto-libertarian.com.yml similarity index 100% rename from inventories/production/host_vars/matrix.crypto-libertarian.com.yml rename to host_vars/matrix.crypto-libertarian.com.yml diff --git a/inventories/production/host_vars/postgres.crypto-libertarian.com.yml b/host_vars/postgres.crypto-libertarian.com.yml similarity index 100% rename from inventories/production/host_vars/postgres.crypto-libertarian.com.yml rename to host_vars/postgres.crypto-libertarian.com.yml diff --git a/inventories/production/hosts b/hosts similarity index 100% rename from inventories/production/hosts rename to hosts