Ansible Azure azure_rm_networkinterface question regarding security_group_name

36 views
Skip to first unread message

Jeff_R

unread,
Apr 20, 2018, 1:44:07 PM4/20/18
to Ansible Project
Trying to build a NIC without creating or using a NSG...this doesn't seem possible. If we leave the value out it creates one using defaults. We've tried using "security_group_name: None" also "security_group: no" and of course leaving it out. None of them work. Does anyone know how to create a NIC without a NSG attached to it? Ansible is at 2.5.1

Karl Auer

unread,
Apr 20, 2018, 6:41:30 PM4/20/18
to ansible...@googlegroups.com
I've never used Azure, but it seems to me that you could probably achieve the same goal by attaching a security group that allows anything in or out. Or allows nothing in or out, depending on what you are trying to achieve.

What ARE you trying to achieve?

Regards, K.

On Sat, Apr 21, 2018 at 3:44 AM, Jeff_R <jeff.r...@gmail.com> wrote:
Trying to build a NIC without creating or using a NSG...this doesn't seem possible. If we leave the value out it creates one using defaults. We've tried using "security_group_name: None" also "security_group: no" and of course leaving it out. None of them work. Does anyone know how to create a NIC without a NSG attached to it? Ansible is at 2.5.1

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c78e12be-58ac-4bbc-86b0-bf739e092d11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Karl Auer

Email  : ka...@2pisoftware.com
Website: 
http://2pisoftware.com

GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

f.floimai...@gmail.com

unread,
Apr 23, 2018, 2:54:57 AM4/23/18
to Ansible Project


Am Freitag, 20. April 2018 19:44:07 UTC+2 schrieb Jeff_R:
Trying to build a NIC without creating or using a NSG...this doesn't seem possible. If we leave the value out it creates one using defaults. We've tried using "security_group_name: None" also "security_group: no" and of course leaving it out. None of them work. Does anyone know how to create a NIC without a NSG attached to it? Ansible is at 2.5.1

It's simply not possible. Every NIC has to have an associated NSG. 
Reply all
Reply to author
Forward
0 new messages