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
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
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
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
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
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
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
-
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
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
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: "{{
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
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
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:
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
-
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
-
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
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.
17 matches
Mail list logo