4b9d1a88bd
We have two standalone roles, puppet and cloud-launcher, but we currently install them with galaxy so depends-on patches don't work. We also install them every time we run anything, even if we don't need them for the playbook in question. Add two roles, one to install a set of ansible roles needed by the host in question, and the other to encapsulate the sequence of running puppet, which now includes installing the puppet role, installing puppet, disabling the puppet agent and then running puppet. As a followup, we'll do the same thing with the puppet modules, so that we arent' cloning and rsyncing ALL of the puppet modules all the time no matter what. Change-Id: I69a2e99e869ee39a3da573af421b18ad93056d5b
8 lines
224 B
YAML
8 lines
224 B
YAML
- hosts: 'codesearch:!disabled'
|
|
name: "codesearch: run puppet on codesearch"
|
|
strategy: free
|
|
roles:
|
|
- sync-project-config
|
|
- name: run-puppet
|
|
manifest: /opt/system-config/production/manifests/codesearch.pp
|