--- - name: deploy Open Stack compute nodes hosts: openstack-compute user: root sudo: yes gather_facts: True vars_files: - /srv/web/infra/ansible/vars/global.yml - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/RedHat.yml - /srv/web/infra/ansible/vars/fedora-cloud.yml - "/srv/private/ansible/files/openstack/passwords.yml" roles: - base - rkhunter - nagios_client - fas_client - collectd/base - sudo - cloud_compute tasks: - include: "{{ tasks }}/yumrepos.yml" - include: "{{ tasks }}/2fa_client.yml" - include: "{{ tasks }}/motd.yml" handlers: - include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers }}/semanage.yml"