Skip to content

Commit

Permalink
fix: add nodejs_app in playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
GraceRuan committed Feb 7, 2025
1 parent 4d51f1d commit ecd03d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions playbooks/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@
vars:
nodejs_version_number: "latest-v22.x"
proxy_env: "{{ env_vars }}"

- name: nodejs_app
vars:
proxy_env: "{{ env_vars }}"
7 changes: 1 addition & 6 deletions playbooks/vars/standard/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ ansible_ssh_extra_args: "-o StrictHostKeyChecking=no"
# General properties
pd_prop_project_name: "NODEJS-SAMPLE"
pd_prop_service_name: "nodejs-sample"
pd_prop_project_version: "{{ lookup('ansible.builtin.env', 'PODMAN_PROJECT_VERSION') }}"
pd_prop_artifact_name: "{{ lookup('ansible.builtin.env', 'PODMAN_ARTIFACT_NAME') }}"
pd_prop_artifact_sha256: "{{ lookup('ansible.builtin.env', 'PODMAN_ARTIFACT_SHA256') }}"
pd_prop_build_number: "{{ lookup('ansible.builtin.env', 'PODMAN_BUILD_NUMBER') }}"
pd_prop_service_install_directory: "{{ pd_prop_project_version }}-{{ pd_prop_build_number }}"

# The following properties are custom to each particular service
context:
context:

# By default, the Tomcat port is set dynamically by using the port_manager role
# If you need to set a static port, replace the dynamic port assignment value with your static value
Expand Down

0 comments on commit ecd03d4

Please sign in to comment.