# Problem creating a bridge with the nmcli module

**URL:** <https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996>\
**Category:** Ansible Project\
**Created:** [July 12, 2016, 4:52pm UTC](https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996 "2016-07-12T16:52:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [July 12, 2016, 4:52pm UTC](https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996/1 "2016-07-12T16:52:50Z")

</div>

Hi,

Using Ansible 2.1.0.0 I'm trying to create a bridge br0 on a CentOS 7 host to replace its standard eth0 interface (dhcp). The nmcli examples don't cover a bridge so I tried to follow the logic for bonds. The snippet below does not work, meaning no ifcfg\_br0 and ifcfg\_br0\_slave\_1 files are created and nmcli does not show any bridge connections yet Ansible says "changed" when run. Anyone have an idea how to create a bridge using the nmcli module?

TIA,  
Patrick

---

<div class="post-metadata">

**Author:** ![Anthony\_P\_V](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Anthony\_P\_V](https://forum.ansible.com/u/Anthony_P_V)\
**Post date:** [April 4, 2017, 7:01am UTC](https://forum.ansible.com/t/problem-creating-a-bridge-with-the-nmcli-module/21996/2 "2017-04-04T07:01:41Z")

</div>

I too am having the same issue.

Using Fedora 25 with Ansible 2.2.1.0 to change network settings on Centos 7 64bit.

This is what I did.

What am I missing?

----------- start -------------------------
