Skip to content

Commit

Permalink
Merge pull request #209 from guidograzioli/205_controller_become
Browse files Browse the repository at this point in the history
controller priv escalation
  • Loading branch information
guidograzioli authored May 3, 2024
2 parents ba12715 + feec4d9 commit bfbbacc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/keycloak_quarkus/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
path: "{{ lookup('env', 'PWD') }}"
register: local_path
delegate_to: localhost
run_once: true
become: false

- name: Download keycloak archive
Expand Down Expand Up @@ -108,15 +109,20 @@
client_secret: "{{ rhn_password }}"
product_id: "{{ (rhn_filtered_products | first).id }}"
dest: "{{ local_path.stat.path }}/{{ keycloak.bundle }}"
mode: '0640'
owner: "{{ lookup('env', 'USER') | default(omit) }}"
no_log: "{{ omit_rhn_output | default(true) }}"
delegate_to: localhost
run_once: true
become: false

- name: Check downloaded archive
ansible.builtin.stat:
path: "{{ local_path.stat.path }}/{{ keycloak.bundle }}"
register: local_archive_path
delegate_to: localhost
become: false
run_once: true

## copy and unpack
- name: Copy archive to target nodes
Expand Down

0 comments on commit bfbbacc

Please sign in to comment.