diff --git a/LICENSE b/LICENSE index 2071b23..22cd01f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) +Copyright (c) 2022 L3D Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/tasks/firewall.yml b/tasks/firewall.yml new file mode 100644 index 0000000..d5b1b0a --- /dev/null +++ b/tasks/firewall.yml @@ -0,0 +1,12 @@ +--- +- name: Firewall rule to allow SSH on TCP port 22 + community.windows.win_firewall_rule: + name: SSH + localport: 22 + action: allow + direction: in + protocol: tcp + state: present + profiles: domain,private,public + enabled: true + diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..07dd752 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,3 @@ +--- +- name: Configure Windows Firewall + ansible.builtin.include_tasks: firwall.yml