Editing Ansible-playbook
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
*<code>#!/usr/bin/env ansible-playbook -u OTHER_USERNAME</code> | *<code>#!/usr/bin/env ansible-playbook -u OTHER_USERNAME</code> | ||
+ | |||
+ | ansible-playbook | ||
+ | usage: ansible-playbook [-h] [--version] [-v] [-k] | ||
+ | [--[[private-key]] PRIVATE_KEY_FILE] [-u REMOTE_USER] | ||
+ | [-c CONNECTION] [-T TIMEOUT] | ||
+ | [--ssh-common-args SSH_COMMON_ARGS] | ||
+ | [--sftp-extra-args SFTP_EXTRA_ARGS] | ||
+ | [--scp-extra-args SCP_EXTRA_ARGS] | ||
+ | [--ssh-extra-args SSH_EXTRA_ARGS] [--force-handlers] | ||
+ | [--flush-cache] [-b] [--become-method BECOME_METHOD] | ||
+ | [--become-user BECOME_USER] [-K] [-t TAGS] | ||
+ | [--skip-tags SKIP_TAGS] [-C] [--syntax-check] [-D] | ||
+ | [-i INVENTORY] [--list-hosts] [-l SUBSET] | ||
+ | [-e EXTRA_VARS] [--vault-id] VAULT_IDS] | ||
+ | [--ask-vault-pass | --vault-password-file VAULT_PASSWORD_FILES] | ||
+ | [-f FORKS] [-M MODULE_PATH] [--list-tasks] | ||
+ | [--list-tags] [--step] [--start-at-task START_AT_TASK] | ||
+ | playbook [playbook ...] | ||
+ | ansible-playbook: error: the following arguments are required: playbook | ||
+ | |||
Advertising: