 
		
		
		
		
		
	
			
		
		
			
					
		Hello,
After executing #ansible-playbook example.yml to configure yum epository on managed nodes, the facts gathering was ok. However, the following errors appear:
fatal: nodex failed ... changed false ....Error number 13 permission denied: /etc/yum.repos.d/app.repo ... problems handling file /etc/yum.repos.d /app.repo
Please, help me resolve.
Regards
 
		
		
		
		
		
	
			
		
		
			
					
		Hello Mawuena,
Can you post your playbook? My first guess is that you aren't elevating your user permissions. Does your play have become: true in it?
 
		
		
		
		
		
	
			
		
		
			
					
		Hello Mawuena,
Can you post your playbook? My first guess is that you aren't elevating your user permissions. Does your play have become: true in it?
 
		
		
		
		
		
	
			
		
		
			
					
		Thanks so much, lanL!
I inserted in the playbook as you suggested:
become: true
Also to /etc/sudoers of each managed hosts:
username ALL=(ALL) NOPASSWD: ALL
Everything is okay now.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.