infra-ansible/run_puppet_on_gerrit.yml
Ricardo Carrillo Cruz ba3b591b86 Change the old meta gerrit group to the expected 'gerrit' group
The code is switching from relying on metadata based groups to
dynamically created groups with add_host.
As such, the group containing gerrit is now 'gerrit'.

Change-Id: I235e445f9e0f7e94f52a0c9dfc0df80b55d49bc1
2016-06-07 14:53:18 +00:00

11 lines
196 B
YAML

---
- hosts: gerrit
user: ubuntu
gather_facts: no
become: true
name: Run Puppet to install Gerrit
tasks:
- puppet:
ignore_errors: yes
- service: name=apache2 state=started