composer: Don't report changed in check mode
This commit is contained in:
@@ -17,7 +17,9 @@
|
|||||||
url: https://getcomposer.org/download/latest-stable/composer.phar
|
url: https://getcomposer.org/download/latest-stable/composer.phar
|
||||||
dest: "{{ ansible_user_dir }}/.local/bin/composer"
|
dest: "{{ ansible_user_dir }}/.local/bin/composer"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
when: (not _composer_user_executable.stat.exists) or composer_upgrade
|
when:
|
||||||
|
- (not _composer_user_executable.stat.exists) or composer_upgrade
|
||||||
|
- not ansible_check_mode
|
||||||
|
|
||||||
- name: Set composer path to use local installation
|
- name: Set composer path to use local installation
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user