add bkernel group playbook
This commit is contained in:
parent
8c7f3b381e
commit
7344d8900c
1 changed files with 29 additions and 0 deletions
29
playbooks/groups/bkernel.yml
Normal file
29
playbooks/groups/bkernel.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
# provision a new koji bkernel
|
||||
# NOTE: this assumes the bkernel boxes are already up and are accessible
|
||||
# NOTE: most of these vars come from group_vars/bkernel or from hostvars
|
||||
|
||||
- name: make koji bkernel
|
||||
hosts: bkernel
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- ${private}/vars.yml
|
||||
- ${vars}/${ansible_distribution}.yml
|
||||
|
||||
tasks:
|
||||
- include: $tasks/koji/base_builder.yml
|
||||
- include: $tasks/koji/builder_kernel_config.yml
|
||||
- include: $tasks/koji/bkernel-setup.yml
|
||||
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
||||
- name: restart kojid
|
||||
action: service name=kojid state=restarted
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue