Install OpenEdge PDSOE using ansible - Forum - OpenEdge Deployment - Progress Community

Install OpenEdge PDSOE using ansible

 Forum

Install OpenEdge PDSOE using ansible

This question is not answered

We'd like to automate installing developers laptops and are trying to use Ansible for that.

Does anybody have any experience with installing PDSOE using Ansible ?

Any playbooks that can be shared

All Replies
  • We have OE install scripts for OE and other stuff, mainly for installing to our service center or customer sites. I could send you some scripts If you don't get other examples before next week.

  • great, thanks. I'll let you know next week

  • 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: <mediapath>

           state: directory

       - name: Transfer OE media to remote server

         tags: oe_prepare

         win_copy:

           src: <mediapath>/dlc117/

           dest: <mediapath>

       - name: Extract archive OE media

         tags: oe_prepare

         win_unzip:

           src: <mediapath>\{{OE}}

           dest: <mediapath>\{{DLC}}

           creates: <mediapath>\{{DLC}}

       - name: Extract archive OE_SP media

         tags: oe_prepare

         win_unzip:

           src: <mediapath>\{{OE_SP}}

           dest: <mediapath>\{{DLC}}_sp

           creates: <mediapath>\{{DLC}}_sp

       - name: Extract archive OE_SUP media

         tags: oe_prepare

         win_unzip:

           src: <mediapath>\{{OE_SUP}}

           dest: <mediapath>\{{DLC}}_sup

           creates: <mediapath>\{{DLC}}_sup

       - name: Transfer response.ini's to remote server

         tags: oe_install

         win_copy:

           src: <responsepath>/{{DLC}}/

           dest: <mediapath>

       - 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=<mediapath>\<response_file.ini> -psc_f2=D:<mediapath>\silentinstall.log'

         when: not oe.stat.exists

         args:

           executable: cmd

           chdir: <mediapath>\{{DLC}}_sp

       - name: Install {{DLC}}_sp

         tags: oe_install

         win_shell: 'setup.exe -psc_s -psc_f1=<mediapath>\<response_sp_file.ini> -psc_f2=<mediapath>\silentinstall_sp.log'

         when: not oe.stat.exists

         args:

           executable: cmd

           chdir: <mediapath>\{{DLC}}_sp

  • Great thanks for sharing this. I'll pass it to my colleague who is trying this