Skip to content

Commit

Permalink
feat: Switch to chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Aug 22, 2024
1 parent 750a407 commit 2b644cc
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions site-check-no-rofs-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,17 @@
vars:
ansible_python_interpreter: /usr/local/bin/python3.11
tasks:
- name: LS
command: ls
- name: PWD
command: pwd
- name: ENV
command: env
- name: Run check-no-rofs (dev)
shell: ansible-playbook site-check-no-rofs.yaml -e cluster=dev
command: ansible-playbook site-check-no-rofs.yaml -e cluster=dev
environment:
KUBECONFIG: ~/.kube/config-dev
KUBECONFIG: /home/wmu55374/.kube/config-dev
PATH: /home/wmu55374/.local/bin:{{ ansible_env.PATH }}
args:
executable: /bin/bash
chdir: fragalysis-stack-kubernetes
- name: Run check-no-rofs (prod)
shell: ansible-playbook site-check-no-rofs.yaml -e cluster=prod
command: ansible-playbook site-check-no-rofs.yaml -e cluster=prod
environment:
KUBECONFIG: ~/.kube/config-prod
KUBECONFIG: /home/wmu55374/.kube/config-prod
PATH: /home/wmu55374/.local/bin:{{ ansible_env.PATH }}
args:
executable: /bin/bash
chdir: fragalysis-stack-kubernetes

0 comments on commit 2b644cc

Please sign in to comment.