Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions playbooks/calculator_job1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- hosts: all
become: true
- hosts: localhost
tasks:
- name: Copy and Execute the script
script: /playbooks/calculator1.py

- name: Unit test
shell: |
cd src
ls
echo "Runing unit test for add.py which is dynamic code getting 2 argument in command line"
python ./playbook/calculator.py