mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-12-07 05:27:14 -07:00
put test stuff intooo... test/ dir
This commit is contained in:
2
test/hosts
Normal file
2
test/hosts
Normal file
@@ -0,0 +1,2 @@
|
||||
[local]
|
||||
localhost ansible_connection=local
|
||||
@@ -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:
|
||||
|
||||
11
test/requirements-bundle.yml
Normal file
11
test/requirements-bundle.yml
Normal 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
4
test/requirements.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
# https://galaxy.ansible.com/docs/using/installing.html
|
||||
- src: https://github.com/bennojoy/nginx
|
||||
version: master
|
||||
name: nginx_role
|
||||
Reference in New Issue
Block a user