Debian Codegraph @

ansible_collections/community/sops/tests/integration/targets/role_install_latest/tasks/main.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Show some basic system info
7 debug:
8 msg: |
9 Architecture: {{ ansible_facts.architecture }}
10 OS family: {{ ansible_facts.os_family }}
11 Distribution: {{ ansible_facts.distribution }}
12 Distribution version: {{ ansible_facts.distribution_version }}
13
14 - name: Install latest sops
15 include_role:
16 name: community.sops.install
17 vars:
18 sops_version: latest
19 sops_github_token: "{{ github_token | default('') }}"
20 sops_github_latest_detection: "{{ github_latest_detection | default('auto') }}"
21
22 - name: Figure out sops version
23 command:
24 cmd: sops --version
25 register: output
26
27 - name: Print sops version
28 debug:
29 msg: '{{ output.stdout_lines | first }}'