Skip to content
Snippets Groups Projects
Commit 50218951 authored by Chris Hines's avatar Chris Hines
Browse files

try to fix cache

parent d408fbba
No related branches found
No related tags found
3 merge requests!518modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!517modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!513modifications to playbooks because 1. we're not using ldap 2. we're mounting...
......@@ -102,9 +102,12 @@ build_cluster_cicd:
ansible_create_cluster_stage:
stage: ansible_create_cluster_stage
# cache:
#paths:
# - CICD/
cache:
paths:
- CICD/inventory.yml
- CICD/tmp_key
- CICD/tmp_key.pub
- CICD/infra/os_vars.yml
tags:
- ansible
script:
......@@ -114,8 +117,8 @@ ansible_create_cluster_stage:
- ansible-playbook -i inventory.yml --key-file ../tmp_key.pem
- sleep 15
- echo uglyuglyfix
- ansible -i inventory.yml --key-file ../tmp_key.pem -b -a "systemctl restart slurmdbd" ManagementNodes
- ansible -i inventory.yml --key-file ../tmp_key.pem -b -a "systemctl restart slurmctld" ManagementNodes
- ansible -i inventory.yml --key-file tmp_key -b -a "systemctl restart slurmdbd" ManagementNodes
- ansible -i inventory.yml --key-file tmp_key -b -a "systemctl restart slurmctld" ManagementNodes
# - cd plays
# - ansible-playbook -i files/inventory.$STACKNAME --key-file ../../gc_key.pem --skip-tags monitoring computenodes.yml | tee nochange.log
# - echo [ `grep changed= ./nochange.log -c` = `grep changed=0 ./nochange.log -c` ] > bashtest.sh # a crude way to make sure all changed lines are equal to changed=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment