# Help to résolve this exercices

**URL:** <https://forum.ansible.com/t/help-to-resolve-this-exercices/36521>\
**Category:** Ansible Project\
**Created:** [April 11, 2022, 9:15am UTC](https://forum.ansible.com/t/help-to-resolve-this-exercices/36521 "2022-04-11T09:15:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammed\_DAHBI](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@Mohammed\_DAHBI](https://forum.ansible.com/u/Mohammed_DAHBI)\
**Post date:** [April 11, 2022, 9:15am UTC](https://forum.ansible.com/t/help-to-resolve-this-exercices/36521/1 "2022-04-11T09:15:24Z")

</div>

Hi , can somme body geive a help to resolve this please

## Exercise A (Ansible):

Prerequisites:

- Create centos-stream-8 VM

- Run Zabbix server on that VM

- Create a ansible role to install consul server on that VM

- Create a ansible role to register Zabbix service in Consul server.

## Exercise S (bash/python/perl scripting):

- Write nftables rules that will block all incoming connections and allow outgoing connections. Browsing from local machine should work, but all incoming connections should be dropped.
- Write a script that can do the 3 following tasks, on a remote server via ssh:
- Isolate first 2 CPU cores from being used by OS
- Install PostgreSQL, create some test database inside, make sure that PostgreSQL is remotely accessible on port 5432
- Register PostgreSQL in Consul server from exercise A

## Exercise D (docker and docker-compose):

- Write a docker file for Wildfly, and create docker-compose file that allows Wildfly to be configured from outside
- During startup Wildfly check for PostgreSQL registration in Consul and register itself after
- Provide instructions to deploy a war file to that Wildfly.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [April 11, 2022, 12:25pm UTC](https://forum.ansible.com/t/help-to-resolve-this-exercices/36521/2 "2022-04-11T12:25:22Z")

</div>

> Hi , can somme body geive a help to resolve this please

Do you expect us to do your homework?
