contrib/test/int: enforce linking in parallel build process
If we don't enforce link creation, running the playbook twice on RHEL or
CentOS will fail on the creation of /usr/bin/sem, as the link already
exists. Let's force link creation, to make the operation idempotent.
./configure
make
cp ./src/{env_parallel*,niceload,parallel,parcat,parset,sql} /usr/bin
- ln -s /usr/bin/parallel /usr/bin/sem
+ ln -sf /usr/bin/parallel /usr/bin/sem
args:
chdir: "{{ ansible_env.HOME }}/parallel-20190322"
when: ansible_distribution in ['RedHat', 'CentOS']
