summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-02-10 18:00:38 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-02-10 18:00:38 +0000
commit726e518cc963f290cec10f36618b131bc4d6a088 (patch)
treea491dcad3499fab859efd8faa2e76a2ad1496c23
parentb33d97a9bedf7371967c700e640b35d47f10b732 (diff)
downloadinfra-726e518cc963f290cec10f36618b131bc4d6a088.tar.gz
infra-726e518cc963f290cec10f36618b131bc4d6a088.tar.bz2
infra-726e518cc963f290cec10f36618b131bc4d6a088.zip
Migrate from hosts.ini to hosts.yml
-rw-r--r--ansible.cfg2
-rw-r--r--hosts.ini2
-rw-r--r--hosts.yml3
3 files changed, 4 insertions, 3 deletions
diff --git a/ansible.cfg b/ansible.cfg
index d5556bf..6141e48 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -1,5 +1,5 @@
[defaults]
-inventory = hosts.ini
+inventory = hosts.yml
roles_path = roles
remote_user = root
vault_password_file = bin/decrypt-vault-password.sh
diff --git a/hosts.ini b/hosts.ini
deleted file mode 100644
index 552edc6..0000000
--- a/hosts.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[web]
-sun.ilvokhin.com
diff --git a/hosts.yml b/hosts.yml
new file mode 100644
index 0000000..4cffab0
--- /dev/null
+++ b/hosts.yml
@@ -0,0 +1,3 @@
+web:
+ hosts:
+ sun.ilvokhin.com: