Skip to content

Commit

Permalink
Merge pull request #17 from ZLLentz/fix_dry_run
Browse files Browse the repository at this point in the history
FIX: dry run issues with config mode check
  • Loading branch information
ZLLentz committed Mar 18, 2024
2 parents fe0515d + 9519739 commit 6d1f0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

## Pre-merge checklist
- [ ] Code works interactively
- [ ] Code works interactively in dry_run mode
- [ ] Code contains descriptive docstrings, including context and API
- [ ] Pre-commit passes on GitHub Actions
- [ ] Documentation under https://confluence.slac.stanford.edu/display/PCDS/TcBSD has been updated appropriately
1 change: 1 addition & 0 deletions tcbsd-provision-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
cmd: TcSysExe.exe --mode

- name: Assert that PLC is in CONFIG mode
when: not ansible_check_mode
ansible.builtin.assert:
that: "{{ 'CONFIG' in plc_mode.stdout }}"
fail_msg: "PLC is in RUN mode! Abort!"
Expand Down

0 comments on commit 6d1f0e0

Please sign in to comment.