mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 14:14:19 +00:00
tests: Rename fake_role_2 and update tasks
This commit is contained in:
parent
dbdf3fb48f
commit
f0a0d8b60e
5 changed files with 10 additions and 7 deletions
2
tests/fixtures/import_role.yml
vendored
2
tests/fixtures/import_role.yml
vendored
|
@ -13,4 +13,4 @@
|
|||
msg: Hello world
|
||||
- name: Import role
|
||||
import_role:
|
||||
name: fake_role_2
|
||||
name: display_some_facts
|
2
tests/fixtures/include_role.yml
vendored
2
tests/fixtures/include_role.yml
vendored
|
@ -16,4 +16,4 @@
|
|||
- name: (4) Include role 2
|
||||
when: x is not defined
|
||||
include_role:
|
||||
name: fake_role_2
|
||||
name: display_some_facts
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: Specific included task for Debian
|
||||
debug: msg="Specific task for Debian"
|
||||
debug:
|
||||
var: ansible_service_mgr
|
|
@ -1,9 +1,11 @@
|
|||
---
|
||||
- name: Debug 1 fake_role_2
|
||||
debug: msg="Fake role"
|
||||
- name: ansible_architecture
|
||||
debug:
|
||||
var: ansible_architecture
|
||||
|
||||
- name: Debug 2 fake_role_2
|
||||
debug: msg="Fake role 2"
|
||||
- name: ansible_date_time
|
||||
debug:
|
||||
var: ansible_date_time
|
||||
|
||||
# This is just for testing purpose.
|
||||
- name: Include Debian task
|
Loading…
Reference in a new issue