Setup assertions, run them after the installation
This commit is contained in:
19
tests/root.yml
Normal file
19
tests/root.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
vars:
|
||||
rvm1_user: root
|
||||
rvm1_install_flags: '--auto-dotfiles'
|
||||
rvm1_install_path: '/home/{{ rvm1_user }}/.rvm'
|
||||
rvm1_rubies:
|
||||
- 'ruby-2.2.5'
|
||||
- 'ruby-2.3.1'
|
||||
roles:
|
||||
- role: rvm1-ansible
|
||||
|
||||
# Asserts tasks
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Assert tasks
|
||||
include: assertetions.yml
|
||||
Reference in New Issue
Block a user