Thursday, August 29, 2019
server ip configuration change using ansible script
### Ansible playbook to backup existing configuration file and inserting the new ip-addresses.
---
- hosts: xxxxx2c.mylabserver.com
become: yes
tasks:
- name: creating xxxx configuration file,adding server entries and backup if it differs
copy:
dest: /etc/xxxx/server
content: |
10.1.1.11 amazon 3
10.11.11.11 amazon 3
backup: yes
Subscribe to:
Posts (Atom)
Sonarqube Upgrade from 9.4.4 to 9.9.4 LTS
Issue: 1) Java hasbeen upgraded from 11 to Open JDK 17. And Sonarqube is upgraded from 9.4 to 9.9.4. 2) After the upgrade sonarqube servic...