mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
fix 'ungrouped' issue with some inventory formats
This commit is contained in:
parent
20bf02f6b9
commit
c4cff44e77
3 changed files with 15 additions and 0 deletions
|
@ -110,6 +110,10 @@ class Host:
|
|||
|
||||
self.groups.append(group)
|
||||
|
||||
def remove_group(self, group):
|
||||
|
||||
self.groups.remove(group)
|
||||
|
||||
def set_variable(self, key, value):
|
||||
|
||||
self.vars[key]=value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue