infra-ansible
ansible script to ship alpine/ssh/wireguard
git clone https://9o.is/git/infra-ansible.git
commit dcc097bab430845a58f61be57675e1729a52bb74 parent 61cf3b19845267669901cf120b44d3861a4e643e Author: Jul <jul@9o.is> Date: Tue, 14 May 2024 16:53:56 +0800 move user creation to openssh role Diffstat:
| M | host/roles/openssh/tasks/main.yml | | | 3 | +++ |
| R | host/roles/setup/tasks/user.yml -> host/roles/openssh/tasks/user.yml | | | 0 | |
| M | host/roles/setup/tasks/main.yml | | | 1 | - |
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/host/roles/openssh/tasks/main.yml b/host/roles/openssh/tasks/main.yml @@ -1,4 +1,7 @@ --- +- name: Create ssh user + include_tasks: user.yml + - name: install openssh server package: name: diff --git a/host/roles/setup/tasks/user.yml b/host/roles/openssh/tasks/user.yml diff --git a/host/roles/setup/tasks/main.yml b/host/roles/setup/tasks/main.yml @@ -2,4 +2,3 @@ - include_tasks: networking.yml - include_tasks: hostname.yml - include_tasks: apt-upgrades.yml -- include_tasks: user.yml