[Backport 4.0] Fix Bootstrap on Centos 7 on GCP fails#651
[Backport 4.0] Fix Bootstrap on Centos 7 on GCP fails#651loicalbertin merged 3 commits intorelease/4.0from
Conversation
|
Seeing this error during the bootstrap, will have a look: |
|
Also note that I have to document that epel repositories on Centos are now required for bootstrap Yorc. |
|
The issue should be in org/ystia/ansible/linux/ansible/playbooks/create.yml extra_args: "{{ '--extra-index-url {}'.format(ANSIBLE_EXTRA_PACKAGE_REPOSITORY) if ANSIBLE_EXTRA_PACKAGE_REPOSITORY != ''}}"Adding a else seems to fix the issue, extra_args: "{{ '--extra-index-url {}'.format(ANSIBLE_EXTRA_PACKAGE_REPOSITORY) if ANSIBLE_EXTRA_PACKAGE_REPOSITORY != '' else ''}}" |
|
Ok will add this but should be somehow dependent on a 3thd party lib as I tested it and it worked for me |
|
Could you please port this change to the forge too? |
I just pushed the change. Yes, I didn't find what in my setup produced a different behavior. This is a CentOS 7.8.2003 GCP VM created several months ago to perform bootstraps. |
yes, will do |
|
Kudos, SonarCloud Quality Gate passed!
|
Pull Request description
Description of the change
What I did
Update bootstrap tosca types with Forge PR ystia/forge#132
How to verify it
Bootstrap on with centos7 GCP
Description for the changelog
Applicable Issues
Fixes #649
Backports
Backport of #650