[ansible-project] ansible tries to include the wrong file

2018-01-03 Thread Mike C
Hi, i've got this repo https://github.com/mhristof/shorty-hefty-exile and its failing with the following error fatal: [localhost]: FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or access '/etc/ansible/roles/oracle-java/tests/debian/ubuntu.yml'"} To reproduce, clone t

Re: [ansible-project] iisue when evaluating a complex var in become

2017-12-20 Thread Mike C
On Wednesday, December 20, 2017 at 11:21:22 AM UTC, Mike C wrote: > > > > On Tuesday, December 19, 2017 at 6:05:50 AM UTC, Kai Stian Olstad wrote: >> >> On 13.12.2017 12:55, Mike C wrote: >> > Hi all, >> > >> > im trying to use a 'compl

Re: [ansible-project] iisue when evaluating a complex var in become

2017-12-20 Thread Mike C
On Tuesday, December 19, 2017 at 6:05:50 AM UTC, Kai Stian Olstad wrote: > > On 13.12.2017 12:55, Mike C wrote: > > Hi all, > > > > im trying to use a 'complex' expression to evaluate if a task should > > run as > > root

[ansible-project] Re: iisue when evaluating a complex var in become

2017-12-18 Thread Mike C
bump On Wednesday, December 13, 2017 at 11:55:33 AM UTC, Mike C wrote: > > Hi all, > > im trying to use a 'complex' expression to evaluate if a task should run > as root or not. > > Here is what i have defined: > > ``` > debian_based_system: ansible_os

[ansible-project] iisue when evaluating a complex var in become

2017-12-13 Thread Mike C
Hi all, im trying to use a 'complex' expression to evaluate if a task should run as root or not. Here is what i have defined: ``` debian_based_system: ansible_os_family == 'Debian' or ansible_os_family == 'Linuxmint' ``` My tasks look like this ``` - debug: var=ansible_os_family - debug: var

Re: [ansible-project] how to debug ansible seg vault ?

2017-07-26 Thread Mike C
y coming from a python C extension and not > ansible > itself... > > > > On Wed, Jul 26, 2017 at 6:50 AM, Mike C > > wrote: > >> im getting a seg fault when im running my ansible. Is there a way to turn >> on more debugging or anything that can help me find

[ansible-project] how to debug ansible seg vault ?

2017-07-26 Thread Mike C
im getting a seg fault when im running my ansible. Is there a way to turn on more debugging or anything that can help me find out the source ? My `/var/log/syslog` has entries like this ``` Jul 26 10:47:26 ubuntu-xenial kernel: [ 497.822661] ansible-playboo[13890]: segfault at a9 ip 00

[ansible-project] block/rescue is not rescuing ?

2017-03-20 Thread Mike C
Hi all, im having trouble with the block/rescue functionality. Here is my code: ``` - block: - name: wget consul from artifactory get_url: url: '{{ consul_url }}' checksum: 'sha256:{{ consul_sha256 }}' dest: '{{ consul_home }}' timeout: 5

[ansible-project] Re: Ansible Windows Winrm Authentication or permission failure.

2016-06-09 Thread Mike C
I ran into this same problem with ansible 2.1.0.0, correctly configured winrm and powershell. The solution was adding the powershell directory to the PATH on the target machine. The ansible error messages have so far never been related to the actual problem, which is kind of impressive. On Mo