From: Oleg Broytman Date: Fri, 28 Feb 2020 18:10:59 +0000 (+0300) Subject: Replace real inventory by a template X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=64e866913f356b85f5f37f25efb9bf289e2bfe95;p=ansible.git Replace real inventory by a template --- 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