diff --git a/.documentation/SystemPreferences.png b/.documentation/SystemPreferences.png new file mode 100755 index 0000000..5185b09 Binary files /dev/null and b/.documentation/SystemPreferences.png differ diff --git a/README.md b/README.md index f2f32db..c7f7f37 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,20 @@ Ansible role that installs the JumpCloud agent on OSX machines. ### Notes: - See the [JumpCloud Website](https://jumpcloud.com/) for further details about this platform. +### Monterey and Later: + +On OSX versions >= 12, there's are 2 manual installation steps required. +- **Prior** to installing this role, the **Terminal** application should be given `Full Disk Access`. +- **While** installing this role, the `System Preferences` window will open, waiting five minutes for you to grant the JumpCloud Agent full disk access, before declaring the installation a failure. + +This requires making the appropriate selection inside `System Preferences --> Security`: + +![SystemPreferences](.documentation/SystemPreferences.png) + +Once these steps are completed once, subsequent runs will complete without the interruption. + +See the [JumpCloud Website](https://jumpcloud.com/) for further details about the agent's requirements. + Requirements ------------ diff --git a/molecule/mock_install_no_update/verify.yml b/molecule/mock_install_no_update/verify.yml index 3306b3d..5a0cf10 100644 --- a/molecule/mock_install_no_update/verify.yml +++ b/molecule/mock_install_no_update/verify.yml @@ -15,4 +15,4 @@ - name: Check Mock Install Arguments assert: that: - - results.content | b64decode == "-s -k secret_jumpcloud_key\n" + - results.content | b64decode == "-f -s -k secret_jumpcloud_key\n" diff --git a/molecule/mock_install_with_update/verify.yml b/molecule/mock_install_with_update/verify.yml index 4cf4636..7f36b8b 100644 --- a/molecule/mock_install_with_update/verify.yml +++ b/molecule/mock_install_with_update/verify.yml @@ -12,4 +12,4 @@ - name: Check Mock Install Arguments (confirm it's been installed twice!) assert: that: - - results.content | b64decode == "Mock Previous Install\n-s -k secret_jumpcloud_key\n" + - results.content | b64decode == "Mock Previous Install\n-f -s -k secret_jumpcloud_key\n" diff --git a/tasks/main.yml b/tasks/main.yml index b112407..7ebfa93 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,7 +19,7 @@ - name: Run the Agent Installation Script become: true - command: "{{ jumpcloud_installer_destination }} -s -k {{ jumpcloud_connect_key }}" + command: "{{ jumpcloud_installer_destination }} -f -s -k {{ jumpcloud_connect_key }}" register: installed args: chdir: /tmp/