Hello,

sorry for the noise and thanks for all answers. I had copied an old
/etc/defaults/jenkins configuration file where the mode was always changed
to 0700. So every time ansible checked whether Jenkins was running by
calling the init.d script, the mode was reset to above value.

Regards
Mirko
-- 
Sent from my mobile
On Dec 15, 2014 1:06 PM, "Michael DeHaan" <[email protected]> wrote:

> What version of Ansible were you using?
>
> Thanks!
>
> On Sun, Dec 14, 2014 at 5:09 PM, John Dewey <[email protected]> wrote:
>>
>>  Things work as expected for me in my vagrant test.
>>
>> http://paste.openstack.org/show/150780/
>>
>> On Sunday, December 14, 2014 at 12:14 PM, Mirko Friedenhagen wrote:
>>
>> Hello,
>>
>> has no one a hint what might be going wrong :-).
>> Regards Mirko
>> --
>> http://illegalstateexception.blogspot.com/
>> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
>> https://bitbucket.org/mfriedenhagen/
>>
>>
>> On Wed, Dec 10, 2014 at 8:46 PM, Mirko Friedenhagen
>> <[email protected]> wrote:
>>
>> Hello,
>>
>> I have the following in a role definition for jenkins:
>>
>> - name: Ensure jenkins .vnc directory does exist.
>> file:
>> path: /var/lib/jenkins/.vnc/
>> state: directory
>> owner: jenkins
>> group: jenkins
>> mode: 0750
>>
>> Whenever I run the playbook, this directory creation is always marked
>> as changed.
>>
>> Immediately before this I run:
>>
>> - name: Ensure jenkins .m2 directory does exist.
>> file:
>> path: /var/lib/jenkins/.m2/
>> state: directory
>> owner: jenkins
>> group: jenkins
>> mode: 0750
>>
>> and this one is only created once and marked as unchanged.
>>
>> Regards Mirko
>> --
>> http://illegalstateexception.blogspot.com/
>> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
>> https://bitbucket.org/mfriedenhagen/
>>
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAK8jvqyRA9UdAOKUwP07%3DY4CVbv8nDfWmcBbjOtonY-C8pE9MQ%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>  --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/D9CA400E454447F0A1BFD377CA317CCD%40dewey.ws
>> <https://groups.google.com/d/msgid/ansible-project/D9CA400E454447F0A1BFD377CA317CCD%40dewey.ws?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwubHRPQ9A-SkCow3PTs%3D3VZWSB4CuhTW0kUfK61oUc1w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwubHRPQ9A-SkCow3PTs%3D3VZWSB4CuhTW0kUfK61oUc1w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK8jvqyBLw43c9XS6g2acoH6vT-dUUSY8mbN07GunUismXUS5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to