Re: [ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread Bilinmek Istemiyor
Thank you for the solution. Embrassing copy and paste error ... Do not know what to say...Thank you again for sparing time.. On Saturday, November 23, 2019 at 1:33:43 AM UTC+3, Jean-Yves LENHOF wrote: > > Hi, > > You did a mix between the user module and the group module parameters. > > Please

Re: [ansible-project] Windows ports used

2019-11-22 Thread Jordan Borean
In regards to the ports you have stated * 88 - I believe this is what the Kerberos TGS process uses, the traffic will be between the Ansible controller and the domain controller not the Windows host. * 389 - This is the standard LDAP port, LDAP can use Kerberos auth like WinRM but Ansible

Re: [ansible-project] Windows ports used

2019-11-22 Thread Jordan Borean
You will still need Kerberos to talk to the domain controller in whatever fashion it uses but the traffic between the Ansible controller and the Windows host will only need the WinRM port. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] Windows ports used

2019-11-22 Thread Ramakrishnan M
Are you saying none of the standard kerberos ports 88,389,445, 3268 etc are required for ansible to use kerberos as ansible_winrm_transport, if we configure either 5985/5986 as default. Thanks in advance On Fri, Nov 22, 2019 at 6:06 PM Jordan Borean wrote: > No, port 5985 is the default port

[ansible-project] Windows ports used

2019-11-22 Thread Jordan Borean
No, port 5985 is the default port for http and 5986 is for https. The auth selection does not change this, and your Windows host could be configured with another port instead so you will have to check your configuration with ‘winrm e winrm/config/listener’. -- You received this message

[ansible-project] Windows ports used

2019-11-22 Thread Ramakrishnan M
hey, Does the ansible port requirement for Windows change from 5985/5986 to corresponding ntml/kerberos depending on ansible_winrm_transport selection of ntlm/kerberos/credssp etc. Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ansible

Re: [ansible-project] List of dicts => dict of lists

2019-11-22 Thread Srinivasa Jasti
Here is another way. Although I like vladimir Botka's solution. --- - hosts: localhost gather_facts: no vars: instances: - id: 1234 type: web - id: 1456 type: web - id: 1678 type: web - id: 3456 type: proxy -

[ansible-project] ## Convert stdout_lines into json format ##

2019-11-22 Thread Jordan Borean
In your win_shell command add “| ConvertTo-Json” to the end. That will pipe the output into a json string which you can then use the from_json filter in Ansible to turn it into a dict. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread Jean-Yves LENHOF
Hi, You did a mix between the user module and the group module parameters. Please read docs and samples : https://docs.ansible.com/ansible/latest/modules/group_module.html https://docs.ansible.com/ansible/latest/modules/user_module.html I think you should made a loop around group module to

Re: [ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread Bilinmek Istemiyor
Thank you for the response. I have extracted some private information but the playbook is a follows... - hosts: nas remote_user: root tasks: - name: create users group: name: "{{ item.name }}" comment: "{{ item.comment }}" shell: "{{ item.shell }}" home: "{{

Re: [ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread alicia
Can you add the playbook you’re running? The error message alone only gets us so far. The error message is telling you that a task using the group module cannot include all the parameters you’re passing to it. Take a look at

[ansible-project] Ansible seems not supporting fundemental user management commands in Arch Linux

2019-11-22 Thread Bilinmek Istemiyor
Hello, I am building a nas server with manjaro architect (arch based distribution). I try to automate tasks with ansible. However ansible user management is giving me errors stating that ""msg": "Unsupported parameters for (group) module: append, comment, group, groups, home, shell Supported

Re: [ansible-project] List of dicts => dict of lists

2019-11-22 Thread Vladimir Botka
On Fri, 22 Nov 2019 18:43:31 +0100 Dick Visser wrote: > instances: > - id: i-0fe48c061f6a323a0 > type: web > - id: i-0403e39813defda31 > type: web > - id: i-0442f13b528e5e1c6 > type: proxy > - id: i-0ebea75d008becaa6 > type: proxy > - id: i-067c5d985c194e036 > type:

Re: [ansible-project] List of dicts => dict of lists

2019-11-22 Thread Kai Stian Olstad
On 22.11.2019 18:43, Dick Visser wrote: I'm struggling with something seemingly simple. I have this list: instances: - id: i-0fe48c061f6a323a0 type: web - id: i-0403e39813defda31 type: web - id: i-0442f13b528e5e1c6 type: proxy - id: i-0ebea75d008becaa6 type: proxy -

[ansible-project] List of dicts => dict of lists

2019-11-22 Thread Dick Visser
Hi I'm struggling with something seemingly simple. I have this list: instances: - id: i-0fe48c061f6a323a0 type: web - id: i-0403e39813defda31 type: web - id: i-0442f13b528e5e1c6 type: proxy - id: i-0ebea75d008becaa6 type: proxy - id: i-067c5d985c194e036 type: db -

Re: [ansible-project] Ansible Version Migration

2019-11-22 Thread alicia
Hi Devaraju, It’s best to upgrade to a maintained version. We maintain 3 versions at all times - currently those versions are 2.9, 2.8, and 2.7 - see https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html

[ansible-project] ## Convert stdout_lines into json format ##

2019-11-22 Thread Monohar Krushna Behera
Hi Team, Greetings of the day!!! Is there any *module *or *plugin *available through which we can convert the *stdout_lines *of a *win_shell *output into *json *data. if it is available can you help me how to use it. Below is my powershell command output coming in ansible result.