You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
790 B

---
- 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