Skip to content

Commit

Permalink
feat: add new linux distros
Browse files Browse the repository at this point in the history
Updates Linux distributions added recently:
- Debian 11
- Debian 12
- Oracle Linux 8
- Oracle Linux 9
- Photon 5

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
Ryan Johnson committed Oct 19, 2023
1 parent d431f4c commit 7f5b95c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
1 change: 1 addition & 0 deletions builds/linux/debian/11/linux-debian.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ build {
sources = ["source.vsphere-iso.linux-debian"]

provisioner "ansible" {
user = var.build_username
galaxy_file = "${path.cwd}/ansible/requirements.yml"
galaxy_force_with_deps = true
playbook_file = "${path.cwd}/ansible/main.yml"
Expand Down
7 changes: 5 additions & 2 deletions builds/linux/debian/12/linux-debian.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ build {
sources = ["source.vsphere-iso.linux-debian"]

provisioner "ansible" {
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
user = var.build_username
galaxy_file = "${path.cwd}/ansible/requirements.yml"
galaxy_force_with_deps = true
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg",
"ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
Expand Down
8 changes: 5 additions & 3 deletions builds/linux/oracle/8/linux-oracle.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,11 @@ build {
sources = ["source.vsphere-iso.linux-oracle"]

provisioner "ansible" {
user = var.build_username
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
user = var.build_username
galaxy_file = "${path.cwd}/ansible/requirements.yml"
galaxy_force_with_deps = true
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg"
]
Expand Down
8 changes: 5 additions & 3 deletions builds/linux/oracle/9/linux-oracle.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,11 @@ build {
sources = ["source.vsphere-iso.linux-oracle"]

provisioner "ansible" {
user = var.build_username
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
user = var.build_username
galaxy_file = "${path.cwd}/ansible/requirements.yml"
galaxy_force_with_deps = true
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg",
"ANSIBLE_PYTHON_INTERPRETER=/usr/libexec/platform-python"
Expand Down
8 changes: 5 additions & 3 deletions builds/linux/photon/5/linux-photon.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ build {
sources = ["source.vsphere-iso.linux-photon"]

provisioner "ansible" {
user = var.build_username
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
user = var.build_username
galaxy_file = "${path.cwd}/ansible/requirements.yml"
galaxy_force_with_deps = true
playbook_file = "${path.cwd}/ansible/main.yml"
roles_path = "${path.cwd}/ansible/roles"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}/ansible/ansible.cfg",
"ANSIBLE_PYTHON_INTERPRETER=/usr/bin/python3"
Expand Down

0 comments on commit 7f5b95c

Please sign in to comment.