Help to résolve this exercices

25 views
Skip to first unread message

Mohammed DAHBI

unread,
Apr 11, 2022, 5:11:24 AM4/11/22
to ansible...@googlegroups.com
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.


Dick Visser

unread,
Apr 11, 2022, 8:25:40 AM4/11/22
to ansible...@googlegroups.com
On 11/04/2022 11:15, Mohammed DAHBI wrote:
> Hi ,, can somme body geive a help to resolve this please

Do you expect us to do your homework?
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CADBcuOsOu%3DEZC49bLgB2fmPMVa1uX3Nf%3D9kaw-5hVDDZ7M2iOA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CADBcuOsOu%3DEZC49bLgB2fmPMVa1uX3Nf%3D9kaw-5hVDDZ7M2iOA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages