yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92320
[Bug 2013467] Re: Ansible run_user ignored when distro install method is used
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/4092
** Bug watch added: github.com/canonical/cloud-init/issues #4092
https://github.com/canonical/cloud-init/issues/4092
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/2013467
Title:
Ansible run_user ignored when distro install method is used
Status in cloud-init:
Expired
Bug description:
When Ansible module is used with `install_method: distro`, the value
of attribute `run_user:` is ignored and the whole Ansible playbook
runs as root.
The problem lies somewhere around [class
AnsiblePullDistro](https://github.com/canonical/cloud-
init/blob/main/cloudinit/config/cc_ansible.py#L150) which does not set
`self.run_user` unlike [class
AnsiblePullPip](https://github.com/canonical/cloud-
init/blob/main/cloudinit/config/cc_ansible.py#L116)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2013467/+subscriptions
References