Ansible unarchive module does not changed when the filename not changed -
my ansiable task looks this:
- name: roll out new pkg when: pkg_version defined unarchive: src=/var/jenkins_home/pkg/{{ project }}/{{ project }}.{{ pkg_version }}.tar.bz2 dest={{ path }} owner=root group=root
i deploy bz2 file no filename change(the content changed), status ok. when delete 1 of files, status changed.
task [roll out new pkg] **************************** ok: [10.0.0.6] changed: [10.0.0.8]
so want know why happen?
Comments
Post a Comment