diff --git a/playbooks/calculator_job1.yaml b/playbooks/calculator_job1.yaml index 1b7c1b0..c89b5f8 100644 --- a/playbooks/calculator_job1.yaml +++ b/playbooks/calculator_job1.yaml @@ -1,6 +1,9 @@ -- hosts: all +- hosts: localhost become: true 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 ./testing/calculator.py