mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove commented statements
This commit is contained in:
parent
f761fc1d1f
commit
ac05645bce
1 changed files with 0 additions and 11 deletions
|
@ -80,16 +80,6 @@ def get_systemid(client, session, sysname):
|
||||||
|
|
||||||
# ------------------------------------------------------- #
|
# ------------------------------------------------------- #
|
||||||
|
|
||||||
# unused:
|
|
||||||
#
|
|
||||||
#def get_localsystemid():
|
|
||||||
# f = open("/etc/sysconfig/rhn/systemid", "r")
|
|
||||||
# content = f.read()
|
|
||||||
# loc_id = re.search(r'\b(ID-)(\d{10})' ,content)
|
|
||||||
# return loc_id.group(2)
|
|
||||||
|
|
||||||
# ------------------------------------------------------- #
|
|
||||||
|
|
||||||
def subscribe_channels(channelname, client, session, sysname, sys_id):
|
def subscribe_channels(channelname, client, session, sysname, sys_id):
|
||||||
channels = base_channels(client, session, sys_id)
|
channels = base_channels(client, session, sys_id)
|
||||||
channels.append(channelname)
|
channels.append(channelname)
|
||||||
|
@ -126,7 +116,6 @@ def main():
|
||||||
user = dict(required=True),
|
user = dict(required=True),
|
||||||
password = dict(required=True, aliases=['pwd'], no_log=True),
|
password = dict(required=True, aliases=['pwd'], no_log=True),
|
||||||
)
|
)
|
||||||
# supports_check_mode=True
|
|
||||||
)
|
)
|
||||||
|
|
||||||
state = module.params['state']
|
state = module.params['state']
|
||||||
|
|
Loading…
Add table
Reference in a new issue