juju4.win_powershell

Appveyor - Master Appveyor - Devel

Windows powershell ansible role

Ansible role to setup powershell security on Windows system (logging, profile...).

Requirements & Dependencies

Ansible

It was tested on the following versions:

  • 2.4 (required since s/include:/include_tasks:/)
  • up to 2.7
  • 4.10.0
  • 5.3.0

Operating systems

Tested in Appveyor

Example Playbook

Just include this role in your list. For example

- host: all
  roles:
    - juju4.win_powershell

Run

$ ansible -i inventory -m win_ping win --ask-pass
$ ansible-playbook -i inventory --limit win site.yml

Variables

See defaults/main.yml for full scope

Continuous integration

This role has a travis basic test (for github, syntax check only), Appveyor test and a Vagrantfile (test/vagrant).

$ cd /path/to/roles/juju4.win_powershell/test/vagrant
$ vagrant up
$ vagrant provision
$ vagrant destroy
$ ansible -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -m win_ping -e ansible_winrm_server_cert_validation=ignore -e ansible_ssh_port=55986 all

Troubleshooting & Known issues

FAQ

License

BSD 2-clause

About

setup Powershell security on Windows system

Install
ansible-galaxy install juju4.win_powershell
GitHub repository
License
bsd-2-clause
Downloads
72
Owner