Skip to content

Commit

Permalink
fixes ansible perms for imagebuilder user
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn committed Oct 31, 2023
1 parent 9e34686 commit c4ab267
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builder-base/scripts/install_ansible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ function instal_ansible() {
cp --preserve=links /usr/lib/libpython3* ${NEWROOT}/usr/lib
fi

chmod 755 ${NEWROOT}/usr/lib/python3.9/site-packages

rm -rf /root/.cache
}

Expand Down
4 changes: 4 additions & 0 deletions builder-base/scripts/validate_components.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ if [ "${FINAL_STAGE_BASE}" = "full-copy-stage" ]; then
pip3 --version
packer --version
ansible --version
su - imagebuilder -c "ansible --version"
su - imagebuilder -c "ansible-galaxy collection list"
su - imagebuilder -c "packer --version"
su - imagebuilder -c "packer plugins installed"

node --version

Expand Down

0 comments on commit c4ab267

Please sign in to comment.