Just a guess, but is the file immutable?
Try deleting after 'chattr -i etc/yum.repos.d/redhat-rhui.repo'
Can you delete by hand on the command line?
In any case, this is a better question for the ansible-project mailing list.
V/r,
James Cassell
On Thu, Feb 21, 2019, at 9:08 PM, Jason Yu wrote:
I got the following error when I tried to remove the
/etc/yum.repos.d/redhat-rhui.repo file. My playbook is as following:
- name: Configure BASE Linux Servers
hosts: linux
gather_facts: true
become: yes
become_user: root
pre_tasks:
- name: Debug
raw: sleep 1
- name: get the username running the
Hi all- we're happy to announce that the general release of Ansible
2.7.8, Ansible 2.6.14, and Ansible 2.5.15 are now ready to be
installed.
How do you get it?
--
$ pip install ansible==2.7.8 --user
or
$ pip install ansible==2.6.14 --user
or
$ pip install ansible==2.5.15 --user