Skip to content

Commit

Permalink
Fix Molecule Test
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed May 11, 2023
1 parent 7133514 commit 8d0a2bd
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 108 deletions.
15 changes: 0 additions & 15 deletions molecule/default/INSTALL.rst

This file was deleted.

14 changes: 1 addition & 13 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@
- name: Converge
hosts: all
tasks:
- name: Include role geerlingguy.apache"
include_role:
name: "geerlingguy.apache"

- name: Include role geerlingguy.php"
include_role:
name: "geerlingguy.php"

- name: "Include role systemli.mariadb"
include_role:
name: "systemli.mariadb"

- name: "Include ansible-role-roundcube"
include_role:
ansible.builtin.include_role:
name: "ansible-role-roundcube"
vars:
roundcube_mysql_password_enc: "password"
Expand Down
34 changes: 0 additions & 34 deletions molecule/default/create.yml

This file was deleted.

23 changes: 0 additions & 23 deletions molecule/default/destroy.yml

This file was deleted.

6 changes: 0 additions & 6 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ driver:
name: delegated
platforms:
- name: instance
lint: |
yamllint .
# ansible-lint
provisioner:
name: ansible
enabled: false
verifier:
name: ansible
enabled: false
20 changes: 20 additions & 0 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- name: Prepare
hosts: all
tasks:
- name: Install required Servcies
ansible.builtin.apt:
name: "{{ item }}"
state: present
update_cache: true
loop:
- apache2
- mariadb-server

- name: Start required Services
ansible.builtin.service:
name: "{{ item }}"
state: started
loop:
- apache2
- mariadb
10 changes: 0 additions & 10 deletions molecule/default/verify.yml

This file was deleted.

7 changes: 0 additions & 7 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
---
roles:
- name: geerlingguy.apache
version: 3.3.0
- name: geerlingguy.php
version: 4.8.0
- name: systemli.mariadb
version: 1.0.0
collections:
- ansible.posix
- community.mysql

0 comments on commit 8d0a2bd

Please sign in to comment.