From 64e866913f356b85f5f37f25efb9bf289e2bfe95 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 28 Feb 2020 21:10:59 +0300 Subject: [PATCH] Replace real inventory by a template --- hosts | 13 ------------- hosts.template | 9 +++++++++ vbox-inventory | 3 --- 3 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 hosts create mode 100644 hosts.template delete mode 100644 vbox-inventory diff --git a/hosts b/hosts deleted file mode 100644 index 332312f..0000000 --- a/hosts +++ /dev/null @@ -1,13 +0,0 @@ -localhost ansible_connection=local - -[localnet] -localhost -iskra-aviel.phdru.name - -[servers] -iskra-aviel.phdru.name -oper.med.ru -phdru.name debian_mirror=http://debian.mirror.cambrium.nl/debian - -[all:vars] -debian_mirror=http://mirror.yandex.ru/debian diff --git a/hosts.template b/hosts.template new file mode 100644 index 0000000..1d5d3f6 --- /dev/null +++ b/hosts.template @@ -0,0 +1,9 @@ +localhost ansible_connection=local + +[localnet] +localhost +home.phdru.name + +[servers] +home.phdru.name +phdru.name diff --git a/vbox-inventory b/vbox-inventory deleted file mode 100644 index decbb80..0000000 --- a/vbox-inventory +++ /dev/null @@ -1,3 +0,0 @@ -vbox-d9 ansible_host=localhost ansible_port=2022 debian_mirror=http://mirror.yandex.ru/debian -vbox-d10 ansible_host=localhost ansible_port=2022 debian_mirror=https://mirror.yandex.ru/debian -vbox-f30-64 ansible_host=localhost ansible_port=2022 -- 2.39.2