system-config/playbooks/zuul/run-production-playbook.yaml

13 lines
340 B
YAML

- hosts: localhost
tasks:
- name: Add bridge.o.o to inventory
add_host:
name: bridge.openstack.org
ansible_user: root
- hosts: bridge.openstack.org
tasks:
- name: Run specified playbook on bridge.o.o
command: ansible-playbook -f {{ ansible_forks }} /opt/system-config/playbooks/{{ playbook_name }}