lab-ansible/infra.yml

13 lines
290 B
YAML
Raw Permalink Normal View History

2024-01-30 19:55:48 +00:00
# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Run playbook
2024-02-04 14:31:18 +00:00
hosts: infrastructure
2024-01-30 19:55:48 +00:00
become: true
gather_facts: true
tasks:
- name: Include role 'ctl-common'
ansible.builtin.include_role:
name: ctl-common
when: hostname in groups['controlservers']