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:
parent
5cf27e411f
commit
6b2350753c
11
run_puppet_on_gerrit.yml
Normal file
11
run_puppet_on_gerrit.yml
Normal 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
|
8
run_puppet_on_jenkins.yml
Normal file
8
run_puppet_on_jenkins.yml
Normal 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
11
run_puppet_on_zuul.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user