put test stuff intooo... test/ dir

This commit is contained in:
Dawid Dziurla
2021-02-11 17:28:46 +01:00
parent 0eefa394aa
commit 1b347b1afe
5 changed files with 4 additions and 7 deletions

2
test/hosts Normal file
View File

@@ -0,0 +1,2 @@
[local]
localhost ansible_connection=local

View File

@@ -1,6 +1,10 @@
- name: Test Action
hosts: all
tasks:
- name: Copy file
copy:
src: requirements.yml
dest: /tmp/requirements.yml
- name: Install cowsay
become: yes
apt:

View File

@@ -0,0 +1,11 @@
# https://docs.ansible.com/ansible/latest/user_guide/collections_using.html
roles:
# Install a role from Ansible Galaxy.
- name: geerlingguy.java
version: 1.9.6
collections:
# Install a collection from Ansible Galaxy.
- name: geerlingguy.php_roles
version: 0.9.3
source: https://galaxy.ansible.com

4
test/requirements.yml Normal file
View File

@@ -0,0 +1,4 @@
# https://galaxy.ansible.com/docs/using/installing.html
- src: https://github.com/bennojoy/nginx
version: master
name: nginx_role