From 9b5699db8aab0aeabd4bf6fe388114a710fec41b Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 20 Jan 2024 17:48:51 +0000 Subject: Change directory structure: move playbooks to root This is necessary to share content between roles without using `..` in filepaths. --- essential.yml | 7 +++++++ misc/pubkeys/d.pub | 1 + playbooks/essential.yml | 7 ------- playbooks/web.yml | 7 ------- roles/users/files/authorized_keys | 1 - web.yml | 7 +++++++ 6 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 essential.yml create mode 100644 misc/pubkeys/d.pub delete mode 100644 playbooks/essential.yml delete mode 100644 playbooks/web.yml delete mode 100644 roles/users/files/authorized_keys create mode 100644 web.yml diff --git a/essential.yml b/essential.yml new file mode 100644 index 0000000..dc08d81 --- /dev/null +++ b/essential.yml @@ -0,0 +1,7 @@ +- name: Essential setup for all hosts + hosts: all + roles: + - { role: minimal } + - { role: users } + - { role: sudo } + - { role: atop } diff --git a/misc/pubkeys/d.pub b/misc/pubkeys/d.pub new file mode 100644 index 0000000..e2df735 --- /dev/null +++ b/misc/pubkeys/d.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5gs7lZUDZhw/8SNRHJTRq8b6KCrscYXkXb3Mtb4SNair4UYLUg4ME/gRgUxkRCJQaQtDbduZ6AUgDN7UN6o8a4jTD1t9H/SaZ9p84I5y8wXG7VJQsfYDKLUVY8+9M5mUIqKRQVcQnjf6SNs8caNFnOoDp+EeC5pVl1xa0VydIiEvKQMlCXf8zFivZE/Y8IUNv5UUM6pQRA7/yr+0ofxyRW0VfmcpzxXDwErOF+vgH4D6YUQsZ6F92OKzrg36PIz2Pbe2XqgTnv/52O5Qholulho9cmDsWjyB4is9lLcFM6gGD5W9PzjKL4iqDqWkt9I0lDQ+Y1qfsLLxdw2kcj8td d@ilvokhin.com diff --git a/playbooks/essential.yml b/playbooks/essential.yml deleted file mode 100644 index dc08d81..0000000 --- a/playbooks/essential.yml +++ /dev/null @@ -1,7 +0,0 @@ -- name: Essential setup for all hosts - hosts: all - roles: - - { role: minimal } - - { role: users } - - { role: sudo } - - { role: atop } diff --git a/playbooks/web.yml b/playbooks/web.yml deleted file mode 100644 index ca14fd1..0000000 --- a/playbooks/web.yml +++ /dev/null @@ -1,7 +0,0 @@ -- name: Essential setup for all hosts - hosts: web - roles: - # Websites - # - { role: home } - # - { role: ip } - # - { role: blog } diff --git a/roles/users/files/authorized_keys b/roles/users/files/authorized_keys deleted file mode 100644 index e2df735..0000000 --- a/roles/users/files/authorized_keys +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5gs7lZUDZhw/8SNRHJTRq8b6KCrscYXkXb3Mtb4SNair4UYLUg4ME/gRgUxkRCJQaQtDbduZ6AUgDN7UN6o8a4jTD1t9H/SaZ9p84I5y8wXG7VJQsfYDKLUVY8+9M5mUIqKRQVcQnjf6SNs8caNFnOoDp+EeC5pVl1xa0VydIiEvKQMlCXf8zFivZE/Y8IUNv5UUM6pQRA7/yr+0ofxyRW0VfmcpzxXDwErOF+vgH4D6YUQsZ6F92OKzrg36PIz2Pbe2XqgTnv/52O5Qholulho9cmDsWjyB4is9lLcFM6gGD5W9PzjKL4iqDqWkt9I0lDQ+Y1qfsLLxdw2kcj8td d@ilvokhin.com diff --git a/web.yml b/web.yml new file mode 100644 index 0000000..ca14fd1 --- /dev/null +++ b/web.yml @@ -0,0 +1,7 @@ +- name: Essential setup for all hosts + hosts: web + roles: + # Websites + # - { role: home } + # - { role: ip } + # - { role: blog } -- cgit v1.2.3-70-g09d2