chexpire-ansible/config.yml

32 lines
562 B
YAML

---
- hosts: all
gather_facts: yes
become: yes
vars_files:
- vars/main.yml
roles:
# - { role: rbenv, username: "{{ ansible_user }}", rbenv_ruby_version: "2.6.4" }
# - { role: nodejs, nodejs_install_yarn: yes }
# - apache-vhost
- 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 }}" }