mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
.--. . .--. ---.. / .. ... / .- -. -. --- -.-- .. -. --.
This commit is contained in:
@@ -61,10 +61,8 @@ class ConsoleCLI(CLI, cmd.Cmd):
|
||||
''' a REPL that allows for running ad-hoc tasks against a chosen inventory (based on dominis' ansible-shell).'''
|
||||
|
||||
modules = []
|
||||
ARGUMENTS = {
|
||||
'host-pattern': 'A name of a group in the inventory, a shell-like glob '
|
||||
'selecting hosts in inventory or any combination of the two separated by commas.',
|
||||
}
|
||||
ARGUMENTS = { 'host-pattern': 'A name of a group in the inventory, a shell-like glob '
|
||||
'selecting hosts in inventory or any combination of the two separated by commas.', }
|
||||
|
||||
def __init__(self, args):
|
||||
|
||||
|
||||
@@ -62,12 +62,10 @@ class PullCLI(CLI):
|
||||
2: 'File is not readable'
|
||||
}
|
||||
SUPPORTED_REPO_MODULES = ['git']
|
||||
ARGUMENTS = {
|
||||
'playbook.yml': 'The name of one the YAML format files to run as an Ansible playbook.'
|
||||
ARGUMENTS = { 'playbook.yml': 'The name of one the YAML format files to run as an Ansible playbook.'
|
||||
'This can be a relative path within the checkout. By default, Ansible will'
|
||||
"look for a playbook based on the host's fully-qualified domain name,"
|
||||
'on the host hostname and finally a playbook named *local.yml*.',
|
||||
}
|
||||
'on the host hostname and finally a playbook named *local.yml*.', }
|
||||
|
||||
def parse(self):
|
||||
''' create an options parser for bin/ansible '''
|
||||
|
||||
Reference in New Issue
Block a user