Consider webservers and DB servers are configured as inventory groups which represents web and db servers' IP addresses 1. Create a user...
Consider webservers and DB servers are configured as inventory groups which represents web and db servers' IP addresses
1. Create a user called ansibleuser on webservers and dbservers.
2. Verify user get created.
3. Delete the ansibleuser in dbservers only.
4. Install apache (apache2) on webservers
5. Stop apache service
6. Remove apache from webservers.
COMMENTS