Skip to content

Commit

Permalink
OPENSHIFTP-176: update .gitignore for .vscode and improve graph depen…
Browse files Browse the repository at this point in the history
…dencies for nfs_deployment

Signed-off-by: Paul Bastide <[email protected]>
  • Loading branch information
prb112 committed Jul 17, 2024
1 parent 65f5b39 commit 4756d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _scratch
# .tfstate files
*.tfstate
*.tfstate.*
.vscode/*

# Crash log files
crash.log
Expand Down
4 changes: 3 additions & 1 deletion modules/4_pvs_support/pvs_support.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ chmod +x files/setup_route.sh
files/setup_route.sh "${local.cidr_str}"
echo 'Running ocp4-upi-compute-powervs playbook...'
mkdir -p /root/.openshift
ANSIBLE_LOG_PATH=/root/.openshift/ocp4-upi-compute-powervs-support.log ansible-playbook -e @vars/vars.yaml tasks/main.yml --become
EOF
]
Expand Down Expand Up @@ -142,7 +143,7 @@ EOF

# Dev Note: setup nfs deployment
resource "null_resource" "nfs_deployment" {
depends_on = [null_resource.config_login]
depends_on = [null_resource.config_login, null_resource.config]
connection {
type = "ssh"
user = var.rhel_username
Expand All @@ -156,6 +157,7 @@ resource "null_resource" "nfs_deployment" {
inline = [<<EOF
echo 'Running ocp4-upi-compute-powervs playbook...'
cd ocp4-upi-compute-powervs/support
mkdir -p /root/.openshift
ANSIBLE_LOG_PATH=/root/.openshift/ocp4-upi-compute-powervs-support-nfs-deploy.log ansible-playbook -e @vars/vars.yaml tasks/nfs_provisioner.yml --become || true
EOF
]
Expand Down

0 comments on commit 4756d75

Please sign in to comment.