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/CAK8jvqx%3DCz_hLQgRaY5CZ3E8B6d_bP8e7iC81ggORTOsLJNMjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.