IBM / Ansible-OpenShift-Provisioning

Automate the deployment of Red Hat OpenShift Container Platform on IBM zSystems (s390x). Automated User-Provisoned Infrastructure (UPI) setup using Kernel-based Virtual Machine (KVM).

Home Page:https://ibm.github.io/Ansible-OpenShift-Provisioning/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playbook 0_setup.yaml is failing on Ubuntu image

smolin-de opened this issue · comments

I got the following error on a Ubuntu:20.04 image:

ansible-playbook playbooks/0_setup.yaml

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [127.0.0.1]

TASK [set_inventory : Find inventory directory from ansible.cfg] ***************
changed: [127.0.0.1]

TASK [set_inventory : Find absolute path to project.] **************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "set -o pipefail\nansible_config="/home/jenkins/workspace/OCP-BOE/BOE-Installs/dev/ocp-multiarch-install-with-aop/aop/ansible.cfg"\necho "${ansible_config%/*}/"\n", "delta": "0:00:00.013986", "end": "2023-05-22 10:54:03.776751", "msg": "non-zero return code", "rc": 2, "start": "2023-05-22 10:54:03.762765", "stderr": "/bin/sh: 1: set: Illegal option -o pipefail", "stderr_lines": ["/bin/sh: 1: set: Illegal option -o pipefail"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
127.0.0.1 : ok=2 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0