Skip to content
Snippets Groups Projects
Commit 0249c062 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Change the order provisioners

parent c0a67655
No related branches found
No related tags found
No related merge requests found
Pipeline #12923 passed with stage
in 35 minutes and 51 seconds
...@@ -36,13 +36,6 @@ source "openstack" "image" { ...@@ -36,13 +36,6 @@ source "openstack" "image" {
build { build {
sources = ["source.openstack.image"] sources = ["source.openstack.image"]
provisioner "shell" {
inline = [
"sudo yum install -y libselinux-python3 python3 python3-pip tmux vim git bash-completion curl wget unzip",
"sudo python3 -m pip install --upgrade pip",
"sudo pip3 install s3cmd==2.3.0 ansible==4.10.0 python-openstackclient==5.8.0"
]
}
provisioner "ansible" { provisioner "ansible" {
use_proxy = false use_proxy = false
...@@ -62,4 +55,12 @@ build { ...@@ -62,4 +55,12 @@ build {
ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"] ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"]
playbook_file = "./CRI_XCBC/ood-packer.yaml" playbook_file = "./CRI_XCBC/ood-packer.yaml"
} }
provisioner "shell" {
inline = [
"sudo yum install -y libselinux-python3 python3 python3-pip tmux vim git bash-completion curl wget unzip",
"sudo python3 -m pip install --upgrade pip",
"sudo pip3 install s3cmd==2.3.0 ansible==4.10.0 python-openstackclient==5.8.0"
]
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment