Skip to content

Commit

Permalink
Fix disable reverse sync on mgmt command
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist committed Oct 18, 2024
1 parent 379e4f7 commit b7a4feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/galaxy-api/tasks/resource_configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
namespace: "{{ ansible_operator_meta.namespace }}"
pod: "{{ _api_pod_name }}"
container: "api"
command: bash -c "pulpcore-manager reset-admin-password --password '{{ admin_password }}'"
command: bash -c "ANSIBLE_REVERSE_RESOURCE_SYNC=false pulpcore-manager reset-admin-password --password '{{ admin_password }}'"
register: result
changed_when: "'That username is already taken' not in result.stderr"
failed_when: "'That username is already taken' not in result.stderr and 'Successfully set password' not in result.stdout"
Expand Down

0 comments on commit b7a4feb

Please sign in to comment.