Унифицировал

This commit is contained in:
Lulzette 2021-12-26 20:36:21 +00:00
parent 401d78ff17
commit 02fe4d12a5
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
- hosts: localhost
- hosts: all
connection: local
roles:
- { role: packages, become: true}

View File

@ -9,12 +9,12 @@ pipeline {
}
stage('check') {
steps {
sh 'ansible-playbook -C ansible/base-system/playbook.yml'
sh 'ansible-playbook -i jenkins/base-system/inventory -C ansible/base-system/playbook.yml'
}
}
stage('run!') {
steps {
sh 'ansible-playbook ansible/base-system/playbook.yml'
sh 'ansible-playbook -i jenkins/base-system/inventory ansible/base-system/playbook.yml'
}
}
}

View File

@ -0,0 +1,2 @@
[containers]
test1 ip_address=10.30.83.91 ansible_connection=lxd