summaryrefslogtreecommitdiffstats
path: root/lib/ansible/cli/pull.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:16:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:16:49 +0000
commit48e387c5c12026a567eb7b293a3a590241c0cecb (patch)
tree80f2573be2d7d534b8ac4d2a852fe43f7ac35324 /lib/ansible/cli/pull.py
parentReleasing progress-linux version 2.16.6-1~progress7.99u1. (diff)
downloadansible-core-48e387c5c12026a567eb7b293a3a590241c0cecb.tar.xz
ansible-core-48e387c5c12026a567eb7b293a3a590241c0cecb.zip
Merging upstream version 2.17.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/ansible/cli/pull.py')
-rwxr-xr-xlib/ansible/cli/pull.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ansible/cli/pull.py b/lib/ansible/cli/pull.py
index f369c39..fb3321e 100755
--- a/lib/ansible/cli/pull.py
+++ b/lib/ansible/cli/pull.py
@@ -4,8 +4,7 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# PYTHON_ARGCOMPLETE_OK
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
+from __future__ import annotations
# ansible.cli needs to be imported first, to ensure the source bin/* scripts run that code first
from ansible.cli import CLI
@@ -57,9 +56,9 @@ class PullCLI(CLI):
1: 'File does not exist',
2: 'File is not readable',
}
- 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,"
+ 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*.', }
SKIP_INVENTORY_DEFAULTS = True