tripleo-ansible/tripleo_ansible/roles/tripleo_cephadm
John Fulton 6c94f7e7f3 Do not sudo stat Ceph spec file on Ansible host
When the "Stat spec file on ansible host" task is run
from an Ansible runner container, the task fails with:

"module_stderr": "/bin/sh: line 1: sudo: command not found\n",

This patch removes "become: true" so that the task
no longer fails under these conditions.

It shouldn't be necessary to use sudo to stat this
file on a standard undercloud or in an Ansible runner
container. There are other tasks which use become
and other tasks which delegate to localhost, but
this task in the tripleo_cephadm role which uses both.

Change-Id: I1aab213206d32ffae2f9fea92970a4bf13801f16
2023-01-05 13:13:46 -05:00
..
defaults Add observability_data_only condition to node-exporter component 2022-10-11 08:20:12 +00:00
meta fix galaxy meta requirements 2021-09-21 08:53:45 -05:00
molecule/default Gather some environment data 2022-06-30 09:11:25 +00:00
tasks Do not sudo stat Ceph spec file on Ansible host 2023-01-05 13:13:46 -05:00
templates Do not set Ceph network options in assimilate_ceph.conf 2022-05-26 20:00:04 +00:00