Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Jan 16, 2025
1 parent dbb185b commit 9d718ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion packer/scripts/ubuntu/ansible-focal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ apt-get install -y python3-dev curl git net-tools acl

curl -s https://bootstrap.pypa.io/pip/get-pip.py | python3.8
pip install ansible==2.9.10 jmespath Jinja2==3.0.3
ansible-galaxy collection install community.mysql

mkdir -p /etc/ansible

Expand Down
7 changes: 7 additions & 0 deletions packer/templates/vagrant-box-archivematica/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
],
"type": "shell"
},
{
"type": "shell",
"execute_command": "echo 'vagrant'|{{.Vars}} sudo -S -E bash '{{.Path}}'",
"inline": [
"ansible-galaxy collection install community.mysql"
]
},
{
"type": "ansible-local",
"playbook_file": "./provisioning/singlenode.yml",
Expand Down

0 comments on commit 9d718ad

Please sign in to comment.