ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters
https://galaxy.ansible.com/ansible-community/consul/
BSD 2-Clause "Simplified" License
450 stars 313 forks source link

adding become to service restarts #571

Closed hallaj closed 6 months ago

hallaj commented 9 months ago

Adding explicit become here. My current play seems to be failing if I my actual playbook has become: false and only having the become: true within import_role

The following works:

- hosts: target
  become: true
  role: [ansible-consul]

I'm failing with this, unless the changes proposed gets applied:

- hosts: target
  become: false
  tasks:
    - name: Import role
      become: true
      import_role:
        name: ansible-consul
nre-ableton commented 7 months ago

CI is now fixed, can you please rebase and fix the conflicts?

hallaj commented 7 months ago

@nre-ableton @bbaassssiiee Rebased and fixed the conflicts.

bbaassssiiee commented 7 months ago

Seems there is more work in progress in CI.

nre-ableton commented 6 months ago

@hallaj CI is fixed, sorry about that. 😅 Can you please rebase again?

hallaj commented 6 months ago

@nre-ableton Rebased ;)