Creates a playbook YML file from the playbook script input and runs this playbook.
...
Input Name | Input Code | Required | Description |
---|---|---|---|
Ansible Home | FDANS_INP_ANSIBLE_HOME | No | Absoulute Absolute directory path where Ansible is installed. |
Playbook Script | FDANS_INP_PLAYBOOK_SCRIPT | Yes | Playbook YML script code. |
Inventory File | FDANS_INP_INVENTORY | No | Absolute path to the inventory file to use with the playbook invocation. (CLI arg: -i) |
Become Method | FDANS_INP_BECOME_METHOD | No | Privilege escalation method to use. (CLI arg: --become-method) (default=sudo), valid choices: [ sudo | su | pbrun | pfexec | doas | dzdo | ksu | runas | machinectl ] If privilege escalation method is selected -b CLI argument will be passed. |
Become User | FDANS_INP_BECOME_USER | No | Run operations as. (CLI arg: --become-user) If value is provided -b CLI argument will be passed. |
Extra Variables | FDANS_INP_EXTRA_VARS | No | Additional variables as key=value, JSON text, or a JSON/YML file. Formatted as key=value. If passing a JSON/YML file you must use an @ before the file name. One pair per line (CLI arg: -e) Key/Value Example: " var1=val1 var2=val1" val2 JSON Example: ' {"version":"1.23.45","other_variable":"foo"}' JSON/YML File Example: "@some_file.json" |
Parallel Processes | FDANS_INP_FORKS | No | Number of parallel processes to use. (CLI arg: -f) |
Host Limit | FDANS_INP_LIMIT | No | Limiting of the selected hosts to an additional pattern. Outputs a list of matching hosts. (CLI arg: -l) |
Skip Tags | FDANS_INP_SKIPPED_TAGS | No | Only run plays and tasks whose tags do not match these values. (CLI arg: --skip-tags) |
Start at Task | FDANS_INP_START_AT_TASK | No | Start the playbook at the task matching this name. (CLI arg: --start-at-task) |
Run Tags | FDANS_INP_TAGS | No | Only run plays and tasks tagged with these values. (CLI arg: -t) |
...