Skip to content

Commit

Permalink
add 'become' to role in case user is not in docker group
Browse files Browse the repository at this point in the history
  • Loading branch information
msherman64 committed Apr 4, 2024
1 parent d222ada commit 79a1ec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/fake-baremetal/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
image: "{{ item }}"
run_once: True
register: "image_info"
become: True
loop: "{{ ironic_deploy_image_names }}"

- name: set facts for ironic images
Expand All @@ -55,6 +56,7 @@
filters:
name: "ironic_provisioning_subnet"
run_once: True
become: True
register: "provisioning_subnet"

# we're passing this to `ip addr add`, so we need it with the CIDR
Expand Down

0 comments on commit 79a1ec2

Please sign in to comment.