Skip to content

Commit

Permalink
Removed need for provision_this_machine flag for some playbooks
Browse files Browse the repository at this point in the history
Removed flag, so that azimuth can run playbooks. Inserted printed warning instead
  • Loading branch information
Chris-green-stfc committed Jan 22, 2025
1 parent 0ebd379 commit 87fd7db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions os_builders/playbooks/prepare_user_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
become: true

pre_tasks:
- name: Exit if provision_this_machine is not set
fail:
msg: "provision_this_machine is not set, exiting"
when: provision_this_machine is not defined
- name: User warning
msg: "[Warning] Do not run on non-cloud machine"

roles:
- role: vm_baseline
Expand Down

0 comments on commit 87fd7db

Please sign in to comment.