diff --git a/Jenkinsfile b/Jenkinsfile index f4bf927..f74631d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,8 @@ pipeline { stage('Ansible') { agent any steps { - ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: 'locahost,', playbook: 'test_play.yml' + ansiblePlaybook playbook: 'test_play.yml' + # ansiblePlaybook credentialsId: '209d0fa2-bbd7-4af5-9aac-deec1b6aa7ec', inventory: '192.168.150.40,', playbook: 'test_play.yml' } } } diff --git a/test_play.yml b/test_play.yml index d048eec..b3af2d0 100755 --- a/test_play.yml +++ b/test_play.yml @@ -2,7 +2,7 @@ --- - name: "TestPlay" gather_facts: true - become: true + become: false #hosts: 192.168.150.40 hosts: localhost connection: local