[ansible-project] become sudo not working for apt module

2024-05-13 Thread Gregory Machin
Hi I have a number of ubuntu servers that I want to update using ansible via AWX. my current test playbook : --- - hosts: all tasks: - name: Test Connection ansible.builtin.ping: - name: Update Cache become: true apt: update_cache: true is not work as expected

[ansible-project] Re: Jobs hanging

2023-07-16 Thread Gregory Machin
023 at 4:02:54 PM UTC+12 Gregory Machin wrote: > Hi, > > I'm having an issue with jobs hanging. These jobs are patching windows > servers. > > There are 3 templates that run concurrently these, each have an inventory > of about 20 machines, the Forks are configured to 1

[ansible-project] Jobs hanging

2023-06-25 Thread Gregory Machin
Hi, I'm having an issue with jobs hanging. These jobs are patching windows servers. There are 3 templates that run concurrently these, each have an inventory of about 20 machines, the Forks are configured to 10. There are no errors output to the jobs output screen, the job just stops progr

Re: [ansible-project] Re: Issue running get-aduser in powershell from playbook

2023-05-04 Thread Gregory Machin
gt; > Thanks > > Jordan > > [1] > https://learn.microsoft.com/en-us/powershell/scripting/learn/remoting/ps-remoting-second-hop?view=powershell-7.3 > [2] > https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#become-and-windows > On Tuesday, May 2, 2

[ansible-project] Issue running get-aduser in powershell from playbook

2023-05-01 Thread Gregory Machin
Hi, I'm currently testing using AWX as an API to run PowerShell commands via ansible playbooks. I'm currently testing using the Get-AD user command as this is close to what I'll be doing. I'm using the following Ansible playbook - name: Test Extra Variables and PowerShell Command hosts

[ansible-project] Community mail module not working

2022-07-13 Thread Gregory Machin
Hi, I'm running Ansible --version ansible 2.10.8 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location =

[ansible-project] Looking to replace AV on Windows Servers using Ansible

2022-05-02 Thread Gregory Machin
Hi, New to Ansible. I'm looking for a way to remove Trend AV and Replace it with Defender and a large number of Windows servers. I have the PowerShell scripts that were used in to carry out the same processes on the Windows 10 devices in Intune, I expect to be able to repurpose those, with