Add run_puppet top-level playbooks to apply puppet for services

Rather than doing this in the boostrap roles, better to decouple
and do it separately.
This commit is contained in:
Ricardo Carrillo Cruz 2015-08-27 10:33:04 +02:00
parent 5cf27e411f
commit 6b2350753c
3 changed files with 30 additions and 0 deletions

11
run_puppet_on_gerrit.yml Normal file
View File

@ -0,0 +1,11 @@
---
- hosts: meta-infra_type_gerrit
user: ubuntu
gather_facts: no
sudo: true
tasks:
name: Run Puppet to install Gerrit
tasks:
- puppet:
ignore_errors: yes
- service: name=apache2 state=started

View File

@ -0,0 +1,8 @@
---
- hosts: meta-infra_type_jenkins
user: ubuntu
sudo: true
tasks:
name: Run Puppet to install Jenkins
tasks:
- puppet:

11
run_puppet_on_zuul.yml Normal file
View File

@ -0,0 +1,11 @@
---
- hosts: meta-infra_type_zuul
user: ubuntu
gather_facts: no
sudo: true
tasks:
name: Run Puppet to install Zuul
tasks:
- puppet:
ignore_errors: yes
- service: name=apache2 state=started