Setup assertions, run them after the installation

This commit is contained in:
Paul Montero
2017-09-19 15:09:22 -05:00
parent 16c7ea351a
commit 7190ce1864
3 changed files with 50 additions and 1 deletions

19
tests/user.yml Normal file
View File

@@ -0,0 +1,19 @@
---
- hosts: all
gather_facts: false
vars:
rvm1_user: user
rvm1_install_path: '/home/{{ rvm1_user }}/.rvm'
rvm1_rubies:
- 'ruby-2.2.5'
- 'ruby-2.3.1'
roles:
- role: rvm1-ansible
become: yes
# Asserts tasks
- hosts: all
gather_facts: false
tasks:
- name: Assert tasks
include: assertions.yml