[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Install OpenEdge PDSOE using ansible

Status
Not open for further replies.
T

timo05

Guest
Hi Carl, This is how we've done some OE installations to servers. Don't have to be a server machine though. You can take examle ansible.cfg ( raw.githubusercontent.com/.../ansible.cfg). Change the inventory inventory = ./hosts.yml hosts.yml has [example] ip-address ansible_user=administrator ansible_password=password ansible_connection=winrm ansible_winrm_server_cert_validation=ignore And the install yml is (change mediapath and provide response file related stuff) hosts: all vars : DLC=dlc117 OE=PROGRESS_OE_11.7_WIN_64.zip OE_SP=PROGRESS_OE_11.7.5_WIN_64.zip OE_SUP=PROGRESS_OE_11.7_WIN_64_SUPPROMSGS.zip REMOTE_USER=administrator remote_user: "{{ REMOTE_USER }}" tasks: - name: Add a powershell module tags: oe_prepare win_psmodule: name: PowershellModule state: present - name: Create directory structure tags: oe_prepare win_file: path: state: directory - name: Transfer OE media to remote server tags: oe_prepare win_copy: src: /dlc117/ dest: - name: Extract archive OE media tags: oe_prepare win_unzip: src: \{{OE}} dest: \{{DLC}} creates: \{{DLC}} - name: Extract archive OE_SP media tags: oe_prepare win_unzip: src: \{{OE_SP}} dest: \{{DLC}}_sp creates: \{{DLC}}_sp - name: Extract archive OE_SUP media tags: oe_prepare win_unzip: src: \{{OE_SUP}} dest: \{{DLC}}_sup creates: \{{DLC}}_sup - name: Transfer response.ini's to remote server tags: oe_install win_copy: src: /{{DLC}}/ dest: - name: Check OE install {{DLC}} tags: oe_install win_stat: path: D:\ep\progs\{{DLC}}\version register: oe - name: Install {{DLC}} tags: oe_install win_shell: 'setup.exe -psc_s -psc_f1= \ -psc_f2=D: \silentinstall.log' when: not oe.stat.exists args: executable: cmd chdir: \{{DLC}}_sp - name: Install {{DLC}}_sp tags: oe_install win_shell: 'setup.exe -psc_s -psc_f1= \ -psc_f2= \silentinstall_sp.log' when: not oe.stat.exists args: executable: cmd chdir: \{{DLC}}_sp

Continue reading...
 
Status
Not open for further replies.
Top