diff --git a/AP4/onfarbo41/hosts b/AP4/onfarbo41/ansible/hosts similarity index 100% rename from AP4/onfarbo41/hosts rename to AP4/onfarbo41/ansible/hosts diff --git a/AP4/onfarbo41/playbook.yml b/AP4/onfarbo41/ansible/playbook.yml similarity index 100% rename from AP4/onfarbo41/playbook.yml rename to AP4/onfarbo41/ansible/playbook.yml diff --git a/AP4/onfarbo41/roles/onfarbo/README.md b/AP4/onfarbo41/ansible/roles/onfarbo/README.md similarity index 100% rename from AP4/onfarbo41/roles/onfarbo/README.md rename to AP4/onfarbo41/ansible/roles/onfarbo/README.md diff --git a/AP4/onfarbo41/roles/onfarbo/files/dokuwiki.sh b/AP4/onfarbo41/ansible/roles/onfarbo/files/dokuwiki.sh similarity index 100% rename from AP4/onfarbo41/roles/onfarbo/files/dokuwiki.sh rename to AP4/onfarbo41/ansible/roles/onfarbo/files/dokuwiki.sh diff --git a/AP4/onfarbo41/roles/onfarbo/handlers/main.yml b/AP4/onfarbo41/ansible/roles/onfarbo/handlers/main.yml similarity index 100% rename from AP4/onfarbo41/roles/onfarbo/handlers/main.yml rename to AP4/onfarbo41/ansible/roles/onfarbo/handlers/main.yml diff --git a/AP4/onfarbo41/roles/onfarbo/tasks/main.yml b/AP4/onfarbo41/ansible/roles/onfarbo/tasks/main.yml similarity index 100% rename from AP4/onfarbo41/roles/onfarbo/tasks/main.yml rename to AP4/onfarbo41/ansible/roles/onfarbo/tasks/main.yml diff --git a/AP4/onfarbo41/roles/onfarbo/vars/main.yml b/AP4/onfarbo41/ansible/roles/onfarbo/vars/main.yml similarity index 100% rename from AP4/onfarbo41/roles/onfarbo/vars/main.yml rename to AP4/onfarbo41/ansible/roles/onfarbo/vars/main.yml diff --git a/AP4/onfarbo41/gosstest/goss.yaml b/AP4/onfarbo41/gosstest/goss.yaml new file mode 100644 index 0000000..45ff265 --- /dev/null +++ b/AP4/onfarbo41/gosstest/goss.yaml @@ -0,0 +1,36 @@ +#Ici, on test MariaDB +port: + tcp:3306: + listening: true + ip: + - 127.0.0.1 + +#Ici, on test ssh +service: + ssh: + enabled: true + running: true +group: + ssh: + exists: true + gid: 111 + +#Ici, on test le serveur web +http: + http://10.121.38.206: + status: 200 + allow-insecure: false + no-follow-redirects: false + timeout: 5000 + body: + - works + +#Ici, on test dokuwiki +http: + http://10.121.38.206/doku/: + status: 200 + allow-insecure: false + no-follow-redirects: false + timeout: 5000 + body: + - Trace