Skip to main content
Participant
May 1, 2021
Question

Installation of Adobe Packages with Anisble Playbook not working

  • May 1, 2021
  • 2 replies
  • 1937 views

I'm having problems installing Adobe packages using an ansible task. When I run the command in Terminal over SSH it installs correctly, but not as part of a playbook.

 

Playbook except:

- name: Install Adobe Acrobat DC
ansible.builtin.command:
cmd : installer -pkg /Users/test_user/AcrobatDC_macos_x86-64-v2021-05_Install.pkg -target /
become: yes
register : Acrobat_install_result

 

Error message from being run in verbose mode:


installer: Package name is AcrobatDC_macos_x86-64-v2021-05
installer: Upgrading at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing AcrobatDC_macos_x86-64-v2021-05….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
installer: Validating packages….....
#
installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “AcrobatDC_macos_x86-64-v2021-05_Install.pkg”.)non-zero return code

 

I get the same error when I update the xxxx.pkg/Content/Info.plist with and without the <key> InstallLanguage </key> and the <key>IFPkgFlagDefaultLocation</key> being set.

 

Any insights from the community would be appreciated.

This topic has been closed for replies.

2 replies

John T Smith
Community Expert
Community Expert
May 1, 2021
Participant
May 4, 2021

I looked at that documentation before I posted. I'm confused why when I use SSH and do the installation via command line it works fine. On the otherhand, when I run the same command as the same user on the same system via ansible I get error message. I just seems very weird.

 

I'd really love this process could be as simple as install the install the Creative Cloud with the shared device license and then via command line tell the Creative Cloud application to download the latest version of whatever software is in my license. I mean it seems silly that you can download/install new software via the GUI but not the command line.

Community Manager
May 4, 2021

Hello,

Please check if you are able to install it without using ansible, using only the terminal. Make sure to close Safari and Microsoft apps before installing the Acrobat package.

kglad
Community Expert
Community Expert
May 1, 2021

do you have a team or enterprise subscription?

Participant
May 1, 2021

The school that I work for has an enterprise license. The Package that was created is also configured for a shared device license.