Ansible Module unarchive: Difference between revisions
Jump to navigation
Jump to search
(Created page with " - name: "Install C3 IntelliJ Plugin" unarchive: src: "{{ansible_env.C3_SERVER_ROOT}}/config/c3/c3-intellij-plugin.zip" dest: "{{ idea_plugins_path }}" when: (in...") |
No edit summary |
||
Line 1: | Line 1: | ||
=External= | |||
* https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html | |||
=Internal= | |||
* [[Ansible_Concepts#unarchive|Ansible Concepts]] | |||
=Overview= | |||
<syntaxhighlight lang='yaml'> | |||
- name: "Install C3 IntelliJ Plugin" | - name: "Install C3 IntelliJ Plugin" | ||
unarchive: | unarchive: | ||
src: "{{ansible_env. | src: "{{ansible_env.SOME_DIR}}/some-other-dir/some-file.zip" | ||
dest: "{{ | dest: "{{ some_path }}" | ||
when: (intellij_version == intellij.version|string) and (builder == 'gradle') and intellij_plugin_dir.stat.exists and not | when: (intellij_version == intellij.version|string) and (builder == 'gradle') and intellij_plugin_dir.stat.exists and not some_dir.stat.exists | ||
</syntaxhighlight> |
Revision as of 05:31, 2 July 2021
External
Internal
Overview
- name: "Install C3 IntelliJ Plugin"
unarchive:
src: "{{ansible_env.SOME_DIR}}/some-other-dir/some-file.zip"
dest: "{{ some_path }}"
when: (intellij_version == intellij.version|string) and (builder == 'gradle') and intellij_plugin_dir.stat.exists and not some_dir.stat.exists