Modify file content.
------------------------
Create a playbook called /home/admin/ansible/modify.yml as follows:
* The playbook runs on all inventory hosts
* The playbook replaces the contents of /etc/issue with a single line of text as
follows:
--> On hosts in the dev host group, the line reads: ''Development''
--> On hosts in the test host group, the line reads: ''Test''
--> On hosts in the prod host group, the line reads: ''Production''
Currently there are no comments in this discussion, be the first to comment!