X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Froot%2Ftasks%2Fmc.yml;fp=playbooks%2Fdebian%2Froles%2Froot%2Ftasks%2Fmc.yml;h=655514aa69d4e9ff574f87e33014cdeafd6c557f;hb=3d7d56cdc42bca48e40d6941128f637854da1dfb;hp=36fe266db64c0acd55cc884953470a2b5399b073;hpb=62411a3505c583632cdba2947d7e24a82e5d01ac;p=ansible.git diff --git a/playbooks/debian/roles/root/tasks/mc.yml b/playbooks/debian/roles/root/tasks/mc.yml index 36fe266..655514a 100644 --- a/playbooks/debian/roles/root/tasks/mc.yml +++ b/playbooks/debian/roles/root/tasks/mc.yml @@ -3,6 +3,7 @@ command: test -L ~root/.cache/mc -a -L ~root/.config/mc -a -L ~root/.local/share/mc failed_when: false register: links_exist + changed_when: links_exist.rc != 0 - debug: msg: "mc links have already been created"