From 4f9ecc84d3d9ab4e9b98a81e3dde2992d34b01c6 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 27 May 2026 14:32:59 -0400 Subject: [PATCH] added a playbook to continue working on --- init@homeserver.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 init@homeserver.yml diff --git a/init@homeserver.yml b/init@homeserver.yml new file mode 100644 index 0000000..68827fb --- /dev/null +++ b/init@homeserver.yml @@ -0,0 +1,16 @@ +--- +- name: Initialize homeserver + hosts: armitage + remote_user: admin + vars: + harden: true + tasks: + - name: Initializing groups and users + ansible.builtin.include_role: + name: init-server # required. The name of the role to be executed. + # apply: # not required. Accepts a hash of task keywords (e.g. C(tags), C(become)) that will be applied to all tasks within the included role. + tasks_from: ssh-users # not required. File to load from a role's C(tasks/) directory. + vars_from: users@linux # not required. File to load from a role's C(vars/) directory. + defaults_from: main # not required. File to load from a role's C(defaults/) directory. + allow_duplicates: True # not required. Overrides the role's metadata setting to allow using a role more than once with the same parameters. + handlers_from: main # not required. File to load from a role's C(handlers/) directory. \ No newline at end of file