Skip to content

Commit

Permalink
add comments to new tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel committed Feb 15, 2024
1 parent 9167336 commit e8ed768
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ansible/playbooks/AdoptOpenJDK_Unix_Playbook/dockernode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
###############################
# Adoptium - Ansible Playbook #
###############################
# This playbook is used to deploy static docker containers onto dockerhost machines
# https://github.com/adoptium/infrastructure/issues/3370

- name: Dockernode playbook
hosts: all
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---

# Dockerfiles are transferred from the controller node onto the dockerhost to be used to build and run docker containers
- name: Transfer dockerfile
copy:
src: "roles/DockerStatic/Dockerfiles/Dockerfile.{{ docker_image }}"
dest: "/tmp/Dockerfile.{{ docker_image }}"

# For images built on non x86_64 dockerhosts
- name: Translate architecture in dockerfile
replace:
dest: /tmp/Dockerfile.{{ docker_image }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---

# This task verifies the docker_images arguments passed into the playbook
# Then runs the deploy.yml task to build and run each image on the dockerhost
- name: Set docker images list variable
set_fact:
docker_images_list: "{{ docker_images.split(',') | list }}"
Expand Down

0 comments on commit e8ed768

Please sign in to comment.