File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 11---
22
33- hosts : cluster
4- gather_facts : no
5- become : no
4+ gather_facts : false
5+ become : false
66 tasks :
77 - name : Lock/Unlock instances
88 openstack.cloud.server_action :
Original file line number Diff line number Diff line change 88
99# See docs/slurm-controlled-rebuild.md.
1010
11- - name : Unlock compute instances for rebuild
12- vars :
13- appliances_server_action : unlock
14- ansible.builtin.command : ansible-playbook --limit compute adhoc/lock_unlock_instances.yml
11+ - hosts : localhost
12+ gather_facts : false
13+ tasks :
14+ - name : Unlock compute nodes to ready rebuild
15+ ansible.builtin.command :
16+ cmd : ansible-playbook --limit compute adhoc/lock_unlock_instances.yml -e "appliances_server_action=unlock"
1517
1618- hosts : login
1719 run_once : true
Original file line number Diff line number Diff line change 22
33- ansible.builtin.import_playbook : safe-env.yml
44
5- - name : Lock cluster instances
6- ansible.builtin.command : ansible-playbook adhoc/lock_unlock_instances.yml
5+ - hosts : localhost
6+ gather_facts : false
7+ tasks :
8+ - name : Lock all cluster instances
9+ ansible.builtin.command :
10+ cmd : ansible-playbook adhoc/lock_unlock_instances.yml
711
812- name : Run pre.yml hook
913 vars :
You can’t perform that action at this time.
0 commit comments