1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #5876 OneProvision: also install ans. coll. (#2176)

In this ansible version can't install roles and collections with a single command
This commit is contained in:
Jan Orel 2022-06-23 13:07:10 +02:00 committed by GitHub
parent d3f828c9bc
commit 9d85d5bef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,12 @@ module OneProvision
CEPH_ANSIBLE_DIR.to_s)
end
Driver.run('ansible-galaxy install -r ' <<
# with current ansible version we need both commands
Driver.run('ansible-galaxy role install -r ' <<
'/usr/share/one/oneprovision/ansible/' <<
'hci-requirements.yml')
Driver.run('ansible-galaxy collection install -r ' <<
'/usr/share/one/oneprovision/ansible/' <<
'hci-requirements.yml')
end