Skip to content

Commit

Permalink
ci: returning tests directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Jun 20, 2022
1 parent 2690d34 commit bee7992
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/defaults-restored-on-localhost/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ driver:
become_method: sudo

platforms:
- name: local-instance
- name: instance

provisioner:
name: ansible
Expand Down
10 changes: 10 additions & 0 deletions tests/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[defaults]
# collections_paths = ../../../
inventory = ./inventory.yml
interpreter_python = auto_silent
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S
# https://stackoverflow.com/questions/50009505/ansible-stdout-formatting
stdout_callback = unixy
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = true
jinja2_native = true
7 changes: 7 additions & 0 deletions tests/inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---

local:
hosts:
localhost:
ansible_connection: local
host: 127.0.0.1
10 changes: 10 additions & 0 deletions tests/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---

- hosts: localhost
connection: local

vars_files:
- ./defaults/main.yml

roles:
- ../../

0 comments on commit bee7992

Please sign in to comment.