--- - hosts: all gather_facts: yes become: yes vars_files: - vars/main.yml roles: - { role: rbenv, username: "{{ ansible_user }}", rbenv_ruby_version: "{{ ruby_version }}" } - { role: nodejs, nodejs_install_yarn: yes } - chexpire-admin-init post_tasks: - include_role: name: etc-git tasks_from: commit.yml vars: commit_message: "Ansible post-run config.yml" - hosts: all vars_files: - vars/main.yml roles: - { role: chexpire-user-init, username: "{{ ansible_user }}" } - hosts: all gather_facts: yes become: yes vars_files: - vars/main.yml roles: - apache-vhost - puma-systemd tasks: - name: Puma systemd unit is started systemd: name: puma-chexpire state: started