community.windows
Windows community collection for Ansible (by ansible-collections)
ansible.windows
Windows core collection for Ansible (by ansible-collections)
community.windows | ansible.windows | |
---|---|---|
7 | 12 | |
189 | 222 | |
1.1% | 1.8% | |
6.7 | 7.2 | |
14 days ago | 14 days ago | |
PowerShell | PowerShell | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
community.windows
Posts with mentions or reviews of community.windows.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-21.
-
Contribute to a Collection
It seems the community.windows collection doesnt currently accept new modules, so I guess you should just publish your own collection https://github.com/ansible-collections/community.windows
-
Community.windows repository sync query
ansible-galaxy collection install git+https://github.com/ansible-collections/community.windows.git
-
win_domain_group_membership taking longtime to add members to AD group
Unfortunately there's not much else you can do really. The time taken is due to the code that's being run and how Windows/PowerShell is sending the info. It taking hours sounds really wrong though it might be worthwhile looking through the code https://github.com/ansible-collections/community.windows/blob/main/plugins/modules/win_domain_group_membership.ps1 to see what it's running and see if you can replicate that manually through an interactive PowerShell prompt.
-
Can't add object to AD
I just installed the community.windows collection, and try to use it to add objects into the AD. Here is my playbook:
-
Install collection offline return error: ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/api': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>
https://github.com/ansible-collections/community.windows/blob/main/galaxy.yml Line 14, has this been installed?
ansible.windows
Posts with mentions or reviews of ansible.windows.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-09.
-
New to AWX Ansible. Trying to use email
collections: # see https://galaxy.ansible.com/ansible/windows - name: ansible.windows version: 2.2.0 # see https://galaxy.ansible.com/community/general - name: community.general version: 8.1.0
-
Share code between custom plugins?
For example the ansible.windows collections has a plugin_utils/_quote.py file https://github.com/ansible-collections/ansible.windows/blob/main/plugins/plugin_utils/_quote.py. It's then imported by some filter plugins with https://github.com/ansible-collections/ansible.windows/blob/5b044e12c93f57a26563264690c633aef97036d6/plugins/filter/quote.py#L11-L15
-
Finally started giving Ansible a try and started scanning all Windows computers for Domain Administrator use – in seconds 💪
I'm no expert here, but maybe you're better off using the ansible windows collection instead of just invoking Powershell, as you'll get to rely on all the functionality Ansible provides like checking the outcome, changes, handling errors, providing consistent feedback, etc., instead of being responsible for that yourself. Like, actually use it for more than firing off scripts remotely
-
win_shell: jinja templates and calling an advanced function from a PowerShell script. Is this possible??
I've tried the workarounds provided here but I haven't had any success. I'm persisting with this approach rather than the more tedious copying the script to the server, executing, and then cleaning up etc. as Ansible does the house keeping for me this way. 😅
-
Is Powershell DSC still worth learning?
If you do find any issues we certainly would like to hear about it and try and fix the problem if we can. You can submit an issue with the details at https://github.com/ansible-collections/ansible.windows.
-
ps1 and ansible
It is but Parse-Args are part of the legacy module utils. Have a look at win_environment for a decent module example. It uses the newer AnsibleModule style that is good to use today. You can ignore the AddType module util if you don’t need that functionality (it doesn’t look like you do).
-
get-acl recursively for files in a folder and change them to read only if they are currently modify for a given user
Here is something that might get you moving In the right direction, its a script to pull and modify the ACL's from ansiblehttps://github.com/ansible-collections/ansible.windows/blob/main/plugins/modules/win_acl.ps1
-
Cant seem to get ansible to install the 3cx desktop app
Which version of Ansible? See https://github.com/ansible-collections/ansible.windows/issues/138. This may or may not be your issue.
-
Ansible.windows.Win_updates RemoteSigned
Just opened https://github.com/ansible-collections/ansible.windows/pull/320 which should solve this problem for you. If you do get a chance it would be great if you could test it out in your environment to see if it solves it for you.
-
Ansible Windows Throwing Error On Setup Module
The issue you are coming across is https://github.com/ansible-collections/ansible.windows/issues/29 which has been fixed in the ansible.windows collection. The fix was very intrusive as it required a massive rewrite in how the module gathered facts, essentially stopped using WMI/CIM. I believe these changes are present in Ansible 2.10.+ but not Ansible 2.9.. The issue here is that WMI/CIM does not allow you to get instances unless you are either an Administrator or are running an Interactive logon. For WinRM users are no longer running an interactive logon so the old code only worked for Administrators.
What are some alternatives?
When comparing community.windows and ansible.windows you can also consider the following projects:
dbatools - 🚀 SQL Server automation and instance migrations have never been safer, faster or freer
winget-pkgs - The Microsoft community Windows Package Manager manifest repository
boxstarter - Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages
lowlydba.sqlserver - :spoon: A cross-platform Ansible collection using PowerShell to configure and maintain SQL Server.
PowerShell - PowerShell functions and scripts (Azure, Active Directory, SCCM, SCSM, Exchange, O365, ...)
BurntToast - Module for creating and displaying Toast Notifications on Microsoft Windows 10.
oh-my-posh2 - A prompt theming engine for Powershell
community.windows vs dbatools
ansible.windows vs winget-pkgs
community.windows vs boxstarter
ansible.windows vs dbatools
community.windows vs lowlydba.sqlserver
ansible.windows vs boxstarter
community.windows vs PowerShell
ansible.windows vs PowerShell
community.windows vs winget-pkgs
ansible.windows vs BurntToast
community.windows vs oh-my-posh2
ansible.windows vs oh-my-posh2