diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-12-21 15:14:03 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-12-21 16:00:40 +0000 |
commit | edb6f2db3f9783d756e5df23a57c445535ea8f71 (patch) | |
tree | 3e17d689eb67ad8936c2c065faaa9dad4e09745c | |
parent | 50fe04c717a63fd638d6233aac2daa31d3eeb6e4 (diff) | |
download | infra-edb6f2db3f9783d756e5df23a57c445535ea8f71.tar.gz infra-edb6f2db3f9783d756e5df23a57c445535ea8f71.tar.bz2 infra-edb6f2db3f9783d756e5df23a57c445535ea8f71.zip |
Move shell to dedicated box
-rw-r--r-- | README.txt | 1 | ||||
-rw-r--r-- | host_vars/shell.ilvokhin.com/digitalocean.yml | 1 | ||||
-rw-r--r-- | hosts.yml | 9 | ||||
-rw-r--r-- | master.yml | 2 | ||||
-rw-r--r-- | misc/dotfiles/ssh/config.j2 | 2 |
5 files changed, 9 insertions, 6 deletions
@@ -17,6 +17,7 @@ $ ansible-playbook master.yml Alternatively use specific playbook to setup only part of the system. $ ansible-playbook essential.yml +$ ansible-playbook shell.yml $ ansible-playbook web.yml $ ansible-playbook mail.yml $ ansible-playbook vpn.yml diff --git a/host_vars/shell.ilvokhin.com/digitalocean.yml b/host_vars/shell.ilvokhin.com/digitalocean.yml new file mode 100644 index 0000000..8c701fc --- /dev/null +++ b/host_vars/shell.ilvokhin.com/digitalocean.yml @@ -0,0 +1 @@ +droplet_id: 465126077 @@ -1,9 +1,14 @@ digitalocean: hosts: + shell.ilvokhin.com: gate.ilvokhin.com: sun.ilvokhin.com: mail.ilvokhin.com: +shell: + hosts: + shell.ilvokhin.com: + web: hosts: sun.ilvokhin.com: @@ -15,7 +20,3 @@ mail: vpn: hosts: gate.ilvokhin.com: - -shell: - hosts: - gate.ilvokhin.com: @@ -1,5 +1,5 @@ - ansible.builtin.import_playbook: essential.yml +- ansible.builtin.import_playbook: shell.yml - ansible.builtin.import_playbook: web.yml - ansible.builtin.import_playbook: mail.yml - ansible.builtin.import_playbook: vpn.yml -- ansible.builtin.import_playbook: shell.yml diff --git a/misc/dotfiles/ssh/config.j2 b/misc/dotfiles/ssh/config.j2 index 3ee3830..8a8ad72 100644 --- a/misc/dotfiles/ssh/config.j2 +++ b/misc/dotfiles/ssh/config.j2 @@ -9,7 +9,7 @@ Host gate Hostname gate.ilvokhin.com ForwardAgent yes -Host sun mail +Host shell sun mail Hostname %h.ilvokhin.com # Moscow machines behind NAT. |