This roles provides a role for ensuring that a Windows 2012 R2 system is compliant with the DevSec Windows Baseline.
- Ansible 2.3.0
Name | Default Value | Description |
---|---|---|
TBD |
- hosts: localhost
roles:
- dev-sec.windows-hardening
For all our tests we use test-kitchen
. If you are not familiar with test-kitchen
please have a look at their guide.
We create multiple hosts - one linux host where Ansible runs on and the Windows hosts.
Next install test-kitchen:
# Install dependencies
gem install bundler
bundle install
Then you can run the playbook and tests:
# create the ansible and windows hosts
bundle exec kitchen create
# run ansible playbook on windows host
bundle exec kitchen converge default-ansibleserver
# verify windows machines
bundle exec kitchen verify windows
- Author:: Sebastian Gumprich [email protected]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.