https://github.com/arillso/ansible.ansible
Sets a scheduled task to ensure Ansible has access through WinRM interface.
https://github.com/arillso/ansible.ansible
ansible ansible-role
Last synced: 3 months ago
JSON representation
Sets a scheduled task to ensure Ansible has access through WinRM interface.
- Host: GitHub
- URL: https://github.com/arillso/ansible.ansible
- Owner: arillso
- License: mit
- Created: 2019-07-07T21:00:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-06T14:35:26.000Z (about 6 years ago)
- Last Synced: 2025-05-31T05:18:23.540Z (about 1 year ago)
- Topics: ansible, ansible-role
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: ansible
[](https://travis-ci.org/arillso/ansible.ansible) [](https://sbaerlo.ch/licence) [](https://galaxy.ansible.com/arillso/ansible) [](https://galaxy.ansible.com/arillso/ansible)
## Description
Sets a scheduled task to ensure Ansible has access through WinRM interface.
## Installation
```bash
ansible-galaxy install arillso.ansible
```
## Requirements
None
## Role Variables
### ansible_ressource_name
Name of the folder where the data will be stored.
```yml
ansible_ressource_name: "{{ source_of_supply_name | default('Support') }}"
ansible_root_directory: "{{ ansible_env.SystemDrive }}\\{{ ansible_ressource_name }}"
```
### ansible_directory
Whole path where the file should be stored
```yml
ansible_directory: "{{ ansible_root_directory }}\\ansible"
```
## ansible_configure_remoting
Path where the Powershell script is stored.
```yml
ansible_configure_remoting: "{{ ansible_directory }}\\ConfigureRemotingForAnsible.ps1"
```
### ansible_scheduled_task
```yml
ansible_scheduled_task: '-ExecutionPolicy Bypass -File "{{ ansible_configure_remoting }}" -CertValidityDays 3650 -ForceNewSSLCert -EnableCredSSP'
```
## Example Playbook
```yml
- hosts: all
roles:
- arillso.ansible
```
## Author
- [Simon Bärlocher](https://sbaerlocher.ch)
## License
This project is under the MIT License. See the [LICENSE](licence) file for the full license text.
## Copyright
(c) 2020, Arillso