Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel committed May 10, 2024
1 parent cccb198 commit dda12f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---

# Get the container ID using the port number found in DockerhostInventory.json
- name: Get container ID of container running on {{ docker_port }}
shell: docker ps | grep {{ docker_port }} | sed 's/ /\n/g' | head -n 1
register: docker_container_ID
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# The deleteNodes.py script deletes the nodes in Jenkins
# Ansible then removes the docker containers on the dockerhost
# If the node is not idle in Jenkins, the node is not deleted

# no_log hides the api_token from the output
- name: Run deleteNodes script
Expand Down

0 comments on commit dda12f4

Please sign in to comment.