From b702fe9f7f8bf423f753ae89b9617aab2372c05e Mon Sep 17 00:00:00 2001 From: heqnx Date: Mon, 26 May 2025 08:54:15 +0300 Subject: added xrdp, added example configs, removing main ones --- playbook.yaml.example | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 playbook.yaml.example (limited to 'playbook.yaml.example') diff --git a/playbook.yaml.example b/playbook.yaml.example new file mode 100644 index 0000000..2274bdf --- /dev/null +++ b/playbook.yaml.example @@ -0,0 +1,31 @@ +- name: fail if system is not debian/ubuntu + hosts: all + gather_facts: true + tasks: + - name: check os family or distribution + ansible.builtin.assert: + that: + - "'debian' in ansible_facts.os_family.lower() or 'ubuntu' in ansible_facts.distribution.lower()" + fail_msg: "this playbook supports only debian-based systems" + +- name: setup server01 + hosts: server01 + become: true + roles: + - harden + - tor + - attackbox + - sliver-c2 + - ssh-nginx-multiplex + - ssh-port-fwd-user + - xrdp + +#- name: setup server02 +# hosts: server02 +# become: true +# roles: +# - harden +# - tor +# - attackbox +# - sliver-c2 +# - ssh-nginx-multiplex -- cgit v1.2.3