Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ansible-inventory]

The tag has no usage guidance.

1
vote
1answer
37 views

Ansible YAML inventory - Groups that are allways members of other groups

Situation: I have a group "webservers" where I put all webservers in. As well as a group "mysqlservers" for the database servers respectively. Now I do also manage some LAMP servers and I want them ...
1
vote
1answer
99 views

How to write logs for certain tasks only?

I am using Ansible and created a Playbook for deployment. I defined log_path in ansible.cfg and now tasks output are going to this log file. I want to send only few task's log into this log file. How ...
0
votes
0answers
78 views

Ansible not able to connect to Ubuntu server/container (Error: Permission denied)

When I am running my ansible play book I am getting an error as below. details are given below. I am rinning the ansible-playbook on localhost (CentOS7) and connecting to docker containers. It's ...
7
votes
1answer
179 views

How to notate ipv6 addresses in inventory file?

I have a machine, that is accessible via ipv6 only. It is setup for ssh with rsa key. Now I'd like to manage it with ansible. Unfortunately, this is not covered in the inventory documentation. So I ...