[ansible-project] Re: Ansible Windows Deployment - 'Connection aborted.', error(104, 'Connection reset by peer')
I have same problem. I enabled winrm over https and i can see it listen to 5986. but a simple win_ping is not working On Monday, September 17, 2018 at 2:46:26 PM UTC-7 jbor...@gmail.com wrote: > You need both the hotfix and the registry keys set for the connection to > break like this, having one or the other is not enough. Another thing to > note is that this only applies to Server 2008, the 2008 R2 edition works > just fine with TLSv1.2. So if this is the original 2008 version (and not > 2008 R2) verify that TLS1.2 isn't enabled in the registry for the server > side. > > Thanks > > Jordan > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1f417e6f-d87f-44e7-9a7e-60ff9fc57765n%40googlegroups.com.
[ansible-project] Tags or Variables, not sure which way to go
So I am having an issue about not knowing what the best thing to do is. Here's what I am trying to accomplish... I have the following sanitized tasks: - name: Set authorized key ( prod) authorized_key: user: ansible state: present key: "{{ lookup('file', 'ssh public key file) }}" key_options: 'from="Prod control node IP"' - name: Set authorized key ( test) authorized_key: user: ansible state: present key: "{{ lookup('file', 'ssh public key file) }}" key_options: 'from="testlab control node IP"' The key option specifies that only the ansible control node can use ssh keys to the ansible account. So is there a way to say execute the prod task unless a "test" tag is passed? At the same time, I want to do the opposite with the test task, and say only execute if the "test" tag is passed. (I know how to do this second part), My other option, would be to just set a variable, and I know I can do it that way, but wasn't sure if I could do the same thing with a tag. --John -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2b8b6e09-b998-48fb-9096-00050012e4d9n%40googlegroups.com.
[ansible-project] Use of VARS and Register at the same time
Hello, Appreciated of any Help I'm looking for any approached or solution that a Variable (VARS) and Register would be able to use in one TASK Copy Module. here's my Code as example... Basically, I need to copy all cfile in multiple remote target directories. @copy.yml --- - host: localhost vars: copy_file: - cfile_1.txt - cfile-a_2.txt - cfile-b_2.3a.txt task: - name: target directory shell: 'find /opt/test -type d -name 'cfile' register: cfile_dir - name: copy cfile copy: src: "/temp/cfile_test/{{ copy_file}}" dest: "{{ item }}/user" with_items: - "{{ cfile_dir.stdout_lines }}" --- Thank you... -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f881a20f-9b31-4711-bbda-d17cebf1bd08n%40googlegroups.com.
[ansible-project] kerberos error when connecting to windows machine
keep getting this error on a windows machine | UNREACHABLE! => { "changed": false, "msg": "kerberos: ('Connection aborted.', error(104, 'Connection reset by peer'))", "unreachable": true any idea? HTTPS is listening on port 5986 already and no firewall blocking -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALmkhkovnhhfa9iG_HC%2BunYGfdHD8XpfBtbpp%3D1R89-saFA3-Q%40mail.gmail.com.